mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 20:07:36 +00:00
* gnutls.c (Fgnutls_peer_status): Check GNUTLS_INITSTAGE, not gnutls_p.
This commit is contained in:
parent
6a4dee9b99
commit
10f2f8aafa
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
|
||||
|
||||
* gnutls.c (Fgnutls_peer_status): Check GNUTLS_INITSTAGE, not gnutls_p.
|
||||
|
||||
2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* gnutls.c: Fix compilation warnings given fix --enable-gcc-warnings.
|
||||
|
|
|
|||
|
|
@ -978,7 +978,7 @@ The return value is a property list. */)
|
|||
|
||||
CHECK_PROCESS (proc);
|
||||
|
||||
if (XPROCESS (proc)->gnutls_p == 0)
|
||||
if ( GNUTLS_INITSTAGE (proc) < GNUTLS_STAGE_INIT )
|
||||
return Qnil;
|
||||
|
||||
/* Then collect any warnings already computed by the handshake. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue