diff options
Diffstat (limited to 'src/gnutls.c')
| -rw-r--r-- | src/gnutls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index dd9c8015ca1..bfa6078eabd 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -978,7 +978,7 @@ The return value is a property list. */) | |||
| 978 | 978 | ||
| 979 | CHECK_PROCESS (proc); | 979 | CHECK_PROCESS (proc); |
| 980 | 980 | ||
| 981 | if (XPROCESS (proc)->gnutls_p == 0) | 981 | if ( GNUTLS_INITSTAGE (proc) < GNUTLS_STAGE_INIT ) |
| 982 | return Qnil; | 982 | return Qnil; |
| 983 | 983 | ||
| 984 | /* Then collect any warnings already computed by the handshake. */ | 984 | /* Then collect any warnings already computed by the handshake. */ |