emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs core TLS support


From: Lars Magne Ingebrigtsen
Subject: Re: Emacs core TLS support
Date: Wed, 29 Sep 2010 20:43:15 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> I would also rename the function above to `gnutls-negotiate' and
> generally keep everything in gnutls.el with the gnutls- prefix.  So:
>
> (defun gnutls-negotiate (proc &rest params)

Sounds good.

> Generally I'd like to make the API less of an override to ssl.el and
> starttls.el and more of a standalone facility.  So `open-ssl-stream' and
> `starttls-open-stream' would not be provided by gnutls.el.  It would
> provide `open-gnutls-stream' with a required parameters alist/plist,
> which then calls `gnutls-negotiate'.

Yes, it's better to have -gnutls- in the function name, so that there's
no confusion about which one of the many (ssl.el/tls.el/starttls.el)
interfaces we're actually calling.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]