1999-12-13 Kenichi OKADA <okada@opaopa.org>
+ * sasl.el (sasl-scram-md5-make-salted-pass): New function.
+ * smtp.el (smtp-auth-scram-md5): Use `sasl-scram-md5-make-salted-pass'
+ instead of `scram-md5-make-salted-pass' and `scram-md5-parse-server-msg-1'.
+
+1999-12-13 Kenichi OKADA <okada@opaopa.org>
+
* digest-md5.el (digest-md5-parse-digest-challenge): Fix.
1999-12-13 Kenichi OKADA <okada@opaopa.org>
(defvar sasl-scram-md5-client-security-info
(scram-make-security-info nil t 0))
+(defun sasl-scram-md5-make-salted-pass (server-msg-1 passphrase)
+ (scram-md5-make-salted-pass
+ passphrase
+ (car
+ (scram-md5-parse-server-msg-1 server-msg-1))))
+
(defun sasl-scram-md5-client-msg-1 (authenticate-id &optional authorize-id)
(scram-md5-make-client-msg-1 authenticate-id authorize-id))
(sasl-scram-md5-client-msg-2
server-msg-1 client-msg-1
(setq salted-pass
- (scram-md5-make-salted-pass
- smtp-authentication-passphrase
- (car
- (scram-md5-parse-server-msg-1 server-msg-1))))))
+ (sasl-scram-md5-make-salted-pass
+ smtp-authentication-passphrase server-msg-1))))
(setq secure-word
(unwind-protect
(base64-encode-string secure-word)