Added experimental support for integrity encoder & decoder.
authorueno <ueno>
Tue, 21 Nov 2000 20:15:29 +0000 (20:15 +0000)
committerueno <ueno>
Tue, 21 Nov 2000 20:15:29 +0000 (20:15 +0000)
commitb1f60e8f8ef16ac9d9420abb89158a65e1622f24
treeaa9bae63d77a918817f4cd18553ebe117e19705c
parent974480c5c6b215f62b911cf7e6657a03d7ae02e4
Added experimental support for integrity encoder & decoder.
I'm going to rewrite things again.

* sasl.el (sasl-client-set-encoder): New function.
(sasl-client-set-decoder): New function.
(sasl-client-encoder): New function.
(sasl-client-decoder): New function.

* sasl-digest.el: Require 'cl' when compiling.
(sasl-digest-md5-signing-encode-magic): New constant.
(sasl-digest-md5-signing-decode-magic): New constant.
(sasl-digest-md5-htonl-string): New function.
(sasl-digest-md5-make-integrity-encoder): New function.
(sasl-digest-md5-make-integrity-decoder): New function.
(sasl-digest-md5-ha1): New function.
(sasl-digest-md5-response-value): Accept the 1st argument `ha1'.
(sasl-digest-md5-response): Use `sasl-digest-md5-ha1'.
- Set integrity encoder and decoder of the client.

* smtp.el: Require `luna'.
(smtp-read-response): Accept `smtp-connection' object rather than
process-object.
(smtp-send-command): Likewise.
(smtp-send-data): Likewise.
ChangeLog
sasl-digest.el
sasl.el
smtp.el