;;; sasl.el --- SASL client framework
-;; Copyright (C) 2000, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc.
;; Author: Daiki Ueno <ueno@unixuser.org>
;; Keywords: SASL
(setplist (aref client 4) plist))
(defun sasl-client-set-property (client property value)
- "Add the given property/value to CLIENT."
+ "Add the given PROPERTY/VALUE to CLIENT."
(put (aref client 4) property value))
(defun sasl-client-property (client property)
(defun sasl-make-mechanism (name steps)
"Make an authentication mechanism.
NAME is a IANA registered SASL mechanism name.
-STEPS is list of continuation function."
+STEPS is list of continuation functions."
(vector name
(mapcar
(lambda (step)
(aref mechanism 1))
(defun sasl-find-mechanism (mechanisms)
- "Retrieve an apropriate mechanism object from MECHANISMS hints."
+ "Retrieve an appropriate mechanism object from MECHANISMS hints."
(let* ((sasl-mechanisms sasl-mechanisms)
(mechanism
(catch 'done
(defun sasl-next-step (client step)
"Evaluate the challenge and prepare an appropriate next response.
-The data type of the value and optional 2nd argument STEP is nil or
-opaque authentication step which holds the reference to the next action
-and the current challenge. At the first time STEP should be set to nil."
+The data type of the value and 2nd argument STEP is nil or opaque
+authentication step which holds the reference to the next action and
+the current challenge. At the first time STEP should be set to nil."
(let* ((steps
(sasl-mechanism-steps
(sasl-client-mechanism client)))
(provide 'sasl)
-;; arch-tag: 8b3326fa-4978-4fda-93e2-cb2c6255f887
;;; sasl.el ends here