the passphrase has already been expired.
+1999-11-30 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
+
+ * pgg.el (pgg-remove-passphrase-cache): Add checking whether
+ the passphrase has already been expired.
+
1999-11-26 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
* mime-edit.el (mime-edit-pgp-user-id): New variable.
key))
(defun pgg-remove-passphrase-cache (key)
- (let ((passphrase (symbol-value (intern key pgg-passphrase-cache))))
- (fillarray passphrase ?_)
- (unintern key pgg-passphrase-cache)))
+ (let ((passphrase (symbol-value (intern-soft key pgg-passphrase-cache))))
+ (when passphrase
+ (fillarray passphrase ?_)
+ (unintern key pgg-passphrase-cache))))
(defmacro pgg-convert-lbt-region (start end lbt)
`(let ((pgg-conversion-end (set-marker (make-marker) ,end)))