* gnutls.c (emacs_gnutls_handshake): Don't return a garbage value.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:12:16 +0000 (00:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:12:16 +0000 (00:12 -0700)
commit080e5a8d90830c0d5c9d365e429f748e938a9485
tree0ae2c4ffc8f01c1b22411e0785ce97ad569fe28b
parent671875dac181f7f1337f21d013a9c3d5f235ddf2
* gnutls.c (emacs_gnutls_handshake): Don't return a garbage value.

Expect the caller to check whether GNUTLS_STAGE_HANDSHAKE_CANDO <=
proc->gnutls_initstage, if the check is needed.  The check isn't
needed for one caller, Fgnutls_boot.
(emacs_gnutls_read): Do that check.  This is the other caller.
src/ChangeLog
src/gnutls.c