diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 5f552675db6..abadabe77ea 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3682,11 +3682,13 @@ connect_network_socket (Lisp_Object proc, Lisp_Object addrinfos, | |||
| 3682 | Lisp_Object boot, params = p->gnutls_boot_parameters; | 3682 | Lisp_Object boot, params = p->gnutls_boot_parameters; |
| 3683 | 3683 | ||
| 3684 | boot = Fgnutls_boot (proc, XCAR (params), XCDR (params)); | 3684 | boot = Fgnutls_boot (proc, XCAR (params), XCDR (params)); |
| 3685 | p->gnutls_boot_parameters = Qnil; | ||
| 3686 | 3685 | ||
| 3687 | if (p->gnutls_initstage == GNUTLS_STAGE_READY) | 3686 | if (p->gnutls_initstage == GNUTLS_STAGE_READY) |
| 3688 | /* Run sentinels, etc. */ | 3687 | { |
| 3689 | finish_after_tls_connection (proc); | 3688 | p->gnutls_boot_parameters = Qnil; |
| 3689 | /* Run sentinels, etc. */ | ||
| 3690 | finish_after_tls_connection (proc); | ||
| 3691 | } | ||
| 3690 | else if (p->gnutls_initstage != GNUTLS_STAGE_HANDSHAKE_TRIED) | 3692 | else if (p->gnutls_initstage != GNUTLS_STAGE_HANDSHAKE_TRIED) |
| 3691 | { | 3693 | { |
| 3692 | deactivate_process (proc); | 3694 | deactivate_process (proc); |