;;; canlock.el --- functions for Cancel-Lock feature
-;; Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
;; Author: Katsumi Yamaoka <yamaoka@jpl.org>
;; Keywords: news, cancel-lock, hmac, sha1, rfc2104
(autoload 'sha1-binary "sha1-el")
(autoload 'base64-encode-string "base64")
+(autoload 'mail-fetch-field "mail-utils")
+(defvar mail-header-separator)
(defgroup canlock nil
"The Cancel-Lock feature."
(defcustom canlock-password nil
"Password to use when signing a Cancel-Lock or a Cancel-Key header."
- :type 'string
+ :type '(radio (const :format "Not specified " nil)
+ (string :tag "Password" :size 0))
:group 'canlock)
(defcustom canlock-password-for-verify canlock-password
"Password to use when verifying a Cancel-Lock or a Cancel-Key header."
- :type 'string
+ :type '(radio (const :format "Not specified " nil)
+ (string :tag "Password" :size 0))
:group 'canlock)
(defcustom canlock-force-insert-header nil