+2006-05-28 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-pgp.el (mime-add-application/pgp-keys): Don't use a temp buffer.
+
2006-05-26 Daiki Ueno <ueno@unixuser.org>
* mime-pgp.el (mime-view-application/pgp): Use
;;; draft-ietf-openpgp-mime-02.txt (OpenPGP/MIME).
(defun mime-add-application/pgp-keys (entity situation)
- (with-temp-buffer
- (mime-insert-entity-content entity)
- (mime-decode-region (point-min) (point-max)
- (cdr (assq 'encoding situation)))
- (epg-import-keys-from-string (epg-make-context)
- (buffer-substring (point-min)(point-max)))
- (epa-list-keys)))
+ (epg-import-keys-from-string (epg-make-context)
+ (mime-entity-content entity)))
;;; @ Internal method for application/pkcs7-mime