all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jan Beich <jbeich@vfemail.net>
Cc: 17780@debbugs.gnu.org
Subject: bug#17780: mml-smime/openssl fails to include intermediate certificates
Date: Mon, 23 Sep 2019 22:13:01 +0200	[thread overview]
Message-ID: <878sqewz3m.fsf@gnus.org> (raw)
In-Reply-To: <ppib-lljo-wny@vfemail.net> (Jan Beich's message of "Sat, 14 Jun 2014 14:31:39 +0200")

Jan Beich <jbeich@vfemail.net> writes:

>  (defun mml-smime-openssl-sign (cont)
>    (when (null smime-keys)
>      (customize-variable 'smime-keys)
>      (error "No S/MIME keys configured, use customize to add your key"))
> -  (smime-sign-buffer (cdr (assq 'keyfile cont)))
> +  (smime-sign-buffer (cdar smime-keys))
>    (goto-char (point-min))

I've tried to follow the logic of the code here, and I think this looks
correct: (assq 'keyfile cont) has only they first key, while (cdar
smime-keys) has all the keys (for this identifier).

So I've applied this patch to the Emacs trunk now.  There may be
repercussions I'm not seeing, though, so feel free to revert.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





           reply	other threads:[~2019-09-23 20:13 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <ppib-lljo-wny@vfemail.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sqewz3m.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17780@debbugs.gnu.org \
    --cc=jbeich@vfemail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.