Fix SCRAM-SHA-1 SASL mechanism
authorMagnus Henoch <magnus.henoch@gmail.com>
Mon, 23 Feb 2015 09:42:10 +0000 (09:42 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2015 09:42:10 +0000 (09:42 +0000)
commit833868ef19ead4fb04728fda3c9071e182ac5f24
tree968b45b1707763e79bcd34ffc5540239da8ee1fe
parent6b6ee186d3d0fa05d39ba49fe1276ecb5aa3f5d2
Fix SCRAM-SHA-1 SASL mechanism

The symbol used in sasl-mechanism-alist needs to match the name that
can be required.  Move sasl-make-mechanism call to end of file, to
ensure that it can refer to the specified step functions.

* sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
instead of sasl-scram-sha-1, as the former is the name that can be
required.

* sasl-scram-rfc.el (sasl-scram-sha-1-steps)
(sasl-scram-sha-1-client-final-message)
(sasl-scram-sha-1-authenticate-server): Move to end of file.
lisp/ChangeLog
lisp/sasl-scram-rfc.el
lisp/sasl.el