Fixed.
[elisp/epg.git] / epg.el
diff --git a/epg.el b/epg.el
index 13fd55b..29f78f8 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -38,7 +38,6 @@
 (defvar epg-pending-status-list nil)
 (defvar epg-key-id nil)
 (defvar epg-context nil)
-(defvar epg-debug nil)
 (defvar epg-debug-buffer nil)
 
 ;; from gnupg/include/cipher.h
@@ -951,12 +950,12 @@ This function is for internal use only."
                    (setq passphrase-with-new-line (concat passphrase "\n"))
                    (epg--clear-string passphrase)
                    (setq passphrase nil)
-                   (if epg-passphrase-coding-system
+                   (if epg-locale-coding-system
                        (progn
                          (setq encoded-passphrase-with-new-line
                                (encode-coding-string
                                 passphrase-with-new-line
-                                epg-passphrase-coding-system))
+                                epg-locale-coding-system))
                          (epg--clear-string passphrase-with-new-line)
                          (setq passphrase-with-new-line nil))
                      (setq encoded-passphrase-with-new-line