From 607d646b2ea042784fc95eb25db88c483dbfb71e Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 20 Nov 1999 10:18:17 +0000 Subject: [PATCH] * pgg.el (pgg-remove-passphrase-cache): Fill cached passphrase with `_'. --- pgg.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pgg.el b/pgg.el index 5fa1f80..e2e1123 100644 --- a/pgg.el +++ b/pgg.el @@ -214,7 +214,11 @@ and END to the keyring.") key)) (defun pgg-remove-passphrase-cache (key) - (unintern key pgg-passphrase-cache)) + (let ((passphrase (symbol-value (intern key pgg-passphrase-cache)))) + (fillarray passphrase ?_) + (let ((obarray pgg-passphrase-cache)) + (makunbound key)) + (unintern key pgg-passphrase-cache))) (defmacro pgg-convert-lbt-region (start end lbt) `(let ((pgg-conversion-end (set-marker (make-marker) ,end))) -- 1.7.10.4