From: Robert Pluim <rpluim@gmail.com>
To: emacs-devel@gnu.org
Subject: gnutls-protocol-version<
Date: Tue, 03 Sep 2019 14:13:55 +0200 [thread overview]
Message-ID: <m2h85tr30c.fsf@gmail.com> (raw)
Hi,
since in some cases nsm has to behave differently depending on what
version of TLS was negotiated for a connection, it needs to be
possible to compare TLS protocol versions. I was thinking of adding
something like:
gnutls-protocol-version< is a built-in function in ‘C source code’.
(gnutls-protocol-version< V1 V2)
Return t if TLS protocol version V1 is lower than V2.
V1 and V2 are TLS protocol version names in the form used by GnuTLS,
e.g. "TLS1.3".
I donʼt think we need the '>' version, and for equality you can just
use 'string-equal'.
Thoughts?
Robert
next reply other threads:[~2019-09-03 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 12:13 Robert Pluim [this message]
2019-09-03 13:02 ` gnutls-protocol-version< Paul Eggert
2019-09-03 14:37 ` gnutls-protocol-version< Robert Pluim
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=m2h85tr30c.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=emacs-devel@gnu.org \
/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.