* src/process.c (connect_network_socket): If we have the TLS
parameters, then boot the socket.
- XPROCESS (proc)->gnutls_async_parameters = params;
+ XPROCESS (proc)->gnutls_boot_parameters = params;
#ifdef HAVE_GNUTLS
p->gnutls_initstage = GNUTLS_STAGE_EMPTY;
#ifdef HAVE_GNUTLS
p->gnutls_initstage = GNUTLS_STAGE_EMPTY;
- p->gnutls_async_parameters = Qnil;
+ p->gnutls_boot_parameters = Qnil;
#endif
/* If name is already in use, modify it until it is unused. */
#endif
/* If name is already in use, modify it until it is unused. */
#ifdef HAVE_GNUTLS
/* Continue the asynchronous connection. */
#ifdef HAVE_GNUTLS
/* Continue the asynchronous connection. */
- if (!NILP (p->gnutls_async_parameters) && p->is_non_blocking_client) {
- Lisp_Object boot, params = p->gnutls_async_parameters;
+ if (!NILP (p->gnutls_boot_parameters))
+ {
+ Lisp_Object boot, params = p->gnutls_boot_parameters;
- p->gnutls_async_parameters = Qnil;
- boot = Fgnutls_boot (proc, XCAR (params), XCDR (params));
- if (NILP (boot) || STRINGP (boot)) {
- pset_status (p, Qfailed);
- deactivate_process (proc);
+ p->gnutls_boot_parameters = Qnil;
+ boot = Fgnutls_boot (proc, XCAR (params), XCDR (params));
+ if (NILP (boot) || STRINGP (boot)) {
+ pset_status (p, Qfailed);
+ deactivate_process (proc);
+ }
#ifdef HAVE_GNUTLS
tem = Fplist_get (contact, QCtls_parameters);
CHECK_LIST (tem);
#ifdef HAVE_GNUTLS
tem = Fplist_get (contact, QCtls_parameters);
CHECK_LIST (tem);
- p->gnutls_async_parameters = tem;
+ p->gnutls_boot_parameters = tem;
#endif
unbind_to (count, Qnil);
#endif
unbind_to (count, Qnil);
#ifdef HAVE_GNUTLS
/* The TLS connection hasn't been set up yet, so we can't write
anything on the socket. */
#ifdef HAVE_GNUTLS
/* The TLS connection hasn't been set up yet, so we can't write
anything on the socket. */
- if (p->gnutls_async_parameters)
+ if (p->gnutls_boot_parameters)
#ifdef HAVE_GNUTLS
Lisp_Object gnutls_cred_type;
#ifdef HAVE_GNUTLS
Lisp_Object gnutls_cred_type;
- Lisp_Object gnutls_async_parameters;
+ Lisp_Object gnutls_boot_parameters;
#endif
/* Pipe process attached to the standard error of this process. */
#endif
/* Pipe process attached to the standard error of this process. */