;;; mml1991.el --- Old PGP message format (RFC 1991) support for MML
;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;; 2005, 2006 Free Software Foundation, Inc.
+;; 2005, 2006, 2007 Free Software Foundation, Inc.
;; Author: Sascha Ldecke <sascha@meta-x.de>,
;; Simon Josefsson <simon@josefsson.org> (Mailcrypt interface, Gnus glue)
(if mml1991-signers
(setq signers (mapcar (lambda (name)
(car (epg-list-keys context name t)))
- mml1991-signers))
- (setq signers (list (car (epg-list-keys
- context
- (message-options-get 'mml-sender)
- t))))))
+ mml1991-signers))))
(epg-context-set-armor context t)
(epg-context-set-textmode context t)
(epg-context-set-signers context signers)
(message-options-get 'message-recipients)
"[ \f\t\n\r\v,]+")))
cipher signers config)
+ ;; We should remove this check if epg-0.0.6 is released.
(if (and (condition-case nil
(require 'epg-config)
(error))
(mapcar (lambda (name)
(car (epg-list-keys context name)))
mml1991-signers)))
- (setq recipients
- (nconc recipients
- (list (car (epg-list-keys context nil t)))))))
+ (error "mml1991-signers not set")))
(when sign
(if mml1991-verbose
(setq signers (epa-select-keys context "Select keys for signing.
(if mml1991-signers
(setq signers (mapcar (lambda (name)
(car (epg-list-keys context name t)))
- mml1991-signers))
- (setq signers (list (car (epg-list-keys
- context
- (message-options-get 'mml-sender)
- t))))))
+ mml1991-signers))))
(epg-context-set-signers context signers))
(epg-context-set-armor context t)
(epg-context-set-textmode context t)