From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Simon Josefsson <jas@extundo.com>, emacs-mime-en@m17n.org, ding@gnus.org
Subject: Re: [PATCH] md4.el and ntlm.el
Date: Mon, 05 Jan 2004 13:59:48 +0900 [thread overview]
Message-ID: <b9yznd3j8hn.fsf@jpl.org> (raw)
In-Reply-To: <iluhdzb2m0k.fsf@latte.josefsson.org>
Hi,
>>>>> In [emacs-mime-en : No.00115]
>>>>> Simon Josefsson <jas@extundo.com> wrote:
> Hello, first thanks for assigning the copyright of these two files.
> While writing them, did anyone but you contribute to files? Have you
> merged patches from anyone else? According to the FLIM ChangeLog and
> CVS logs, you and Kenichi OKADA have touched them, and we have papers
> for that.
> Also, after installing these files into Gnus, we have made the
> following modifications. Do you agree with them? Any suggestions?
> Please consider including them in FLIM. The patch is against the
> flim-1_14 branch in CVS.
> Thanks,
> Simon
[...]
I also add the following change to ntlm.el in Gnus. Although
it is needless if APEL provides `string-as-unibyte' for XEmacs,
Gnus doesn't use it.
2004-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
* ntlm.el (ntlm-string-as-unibyte): New macro.
(ntlm-build-auth-response): Use it.
--- ntlm.el~ 2004-01-05 02:12:22 +0000
+++ ntlm.el 2004-01-05 04:44:07 +0000
@@ -105,13 +105,19 @@
domain ;bufer field
)))
+(eval-when-compile
+ (defmacro ntlm-string-as-unibyte (string)
+ (if (fboundp 'string-as-unibyte)
+ `(string-as-unibyte ,string)
+ string)))
+
(defun ntlm-build-auth-response (challenge user password-hashes)
"Return the response string to a challenge string CHALLENGE given by
the NTLM based server for the user USER and the password hash list
PASSWORD-HASHES. NTLM uses two hash values which are represented
by PASSWORD-HASHES. PASSWORD-HASHES should be a return value of
(list (ntlm-smb-passwd-hash password) (ntlm-md4hash password))"
- (let* ((rchallenge (string-as-unibyte challenge))
+ (let* ((rchallenge (ntlm-string-as-unibyte challenge))
;; get fields within challenge struct
;;(ident (substring rchallenge 0 8)) ;ident, 8 bytes
;;(msgType (substring rchallenge 8 12)) ;msgType, 4 bytes
Regards,
--
Katsumi Yamaoka <yamaoka@jpl.org>
next prev parent reply other threads:[~2004-01-05 4:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 1:59 Simon Josefsson
2004-01-05 4:59 ` Katsumi Yamaoka [this message]
2004-01-06 9:45 ` Taro Kawagishi
2004-01-06 10:34 ` Katsumi Yamaoka
2004-01-06 12:41 ` Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9yznd3j8hn.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
--cc=emacs-mime-en@m17n.org \
--cc=jas@extundo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).