Fix SCRAM-SHA-1 SASL mechanism
commit80e50144d82e271dccd7716703c2f4390463a753
authorMagnus Henoch <magnus.henoch@gmail.com>
Mon, 23 Feb 2015 09:09:46 +0000 (23 09:09 +0000)
committerMagnus Henoch <magnus.henoch@gmail.com>
Mon, 23 Feb 2015 09:09:46 +0000 (23 09:09 +0000)
tree7f0a938f5210df9cba0f8b494b0008535dd5040c
parent34871865de0452cd251e92d76ab12c2ac237e783
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.

* net/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.

* net/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/net/sasl-scram-rfc.el
lisp/net/sasl.el