]> code.delx.au - gnu-emacs/commit
Return the correct error values from gnutls.c
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Feb 2016 03:33:50 +0000 (14:03 +1030)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Feb 2016 03:34:04 +0000 (14:04 +1030)
commitd5f270f2965f3c52963e2bf0057756e350d771d1
tree0fe5a3517e2c2808b029a009dd7d5721d8855490
parentb829c9e15b244e12a98e5dc75c8009d55b60bfab
Return the correct error values from gnutls.c

* src/gnutls.c (emacs_gnutls_read): Set errno to the value
expected by process.c.
(gnutls_try_handshake): Set gnutls_p to true earlier to avoid
possible race condition with the process.c socket polling
functions.
src/gnutls.c