Provide a useful default to smime-CA-file
* lisp/gnus/smime.el (smime-CA-file): Use `gnutls-trustfiles' to provide a default so that this will work automatically on many systems (bug#20960).
This commit is contained in:
parent
95c9079da0
commit
33cc12498b
1 changed files with 6 additions and 5 deletions
|
@ -119,7 +119,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'dig)
|
||||
|
||||
(require 'gnutls)
|
||||
(require 'password-cache)
|
||||
|
||||
(eval-when-compile (require 'cl-lib))
|
||||
|
@ -149,10 +149,11 @@ certificate."
|
|||
:type '(choice (const :tag "none" nil)
|
||||
directory))
|
||||
|
||||
(defcustom smime-CA-file nil
|
||||
"Files containing certificates for CAs you trust.
|
||||
File should contain certificates in PEM format."
|
||||
:version "22.1"
|
||||
(defcustom smime-CA-file (car (gnutls-trustfiles))
|
||||
"File containing certificates for CAs you trust.
|
||||
The file should contain certificates in PEM format. By default,
|
||||
this is initialized from the `gnutls-trusfiles' variable."
|
||||
:version "29.1"
|
||||
:type '(choice (const :tag "none" nil)
|
||||
file))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue