summaryrefslogtreecommitdiff
path: root/src/gnutls.h
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-18 16:25:37 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-18 16:25:37 +1100
commite96df838aff3e1432d68cb0ed1fa899f79a70847 (patch)
treecf299ae63a0f5bdce4125b78ff58fc10631e6d37 /src/gnutls.h
parentd4bb0b923b30c78ea18e4744c7a9ab6f3f2c4b1b (diff)
downloademacs-e96df838aff3e1432d68cb0ed1fa899f79a70847.tar.gz
Verify the TLS connection asynchronously
* src/gnutls.c (gnutls_verify_boot): Refactor out into its own function so that we can call it asynchronously. (Fgnutls_boot): Use it. * src/process.c (wait_reading_process_output): Verify the TLS negotiation.
Diffstat (limited to 'src/gnutls.h')
-rw-r--r--src/gnutls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gnutls.h b/src/gnutls.h
index cb521350b9d..d03332ec2b6 100644
--- a/src/gnutls.h
+++ b/src/gnutls.h
@@ -85,6 +85,7 @@ extern void emacs_gnutls_transport_set_errno (gnutls_session_t state, int err);
extern Lisp_Object emacs_gnutls_deinit (Lisp_Object);
extern Lisp_Object emacs_gnutls_global_init (void);
extern int gnutls_try_handshake (struct Lisp_Process *p);
+extern Lisp_Object gnutls_verify_boot (Lisp_Object proc, Lisp_Object proplist);
#endif