projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f2267
)
fixed defines
author
Felix Morgner
<felix.morgner@gmail.com>
Sat, 31 Jan 2015 13:50:05 +0000
(14:50 +0100)
committer
Felix Morgner
<felix.morgner@gmail.com>
Sat, 31 Jan 2015 13:50:05 +0000
(14:50 +0100)
src/ssl.h
patch
|
blob
|
history
diff --git
a/src/ssl.h
b/src/ssl.h
index 9d72fe4e2d67f00f87e979894ba4e8b84aecc841..4efa24beb586caccb17a01e2a43086f7e835bc29 100644
(file)
--- a/
src/ssl.h
+++ b/
src/ssl.h
@@
-94,9
+94,9
@@
typedef ssl_context SSL_handle_t;
#define SSLI_ERROR_WANT_READ GNUTLS_E_AGAIN
#define SSLI_ERROR_WANT_WRITE GNUTLS_E_AGAIN
-#define SSLI_ERROR_ZERO_RETURN
6 // taken from the openssl compat. layer
+#define SSLI_ERROR_ZERO_RETURN
GNUTLS_E_PREMATURE_TERMINATION
#define SSLI_ERROR_CONNRESET GNUTLS_E_PREMATURE_TERMINATION
-#define SSLI_ERROR_SYSCALL
5
+#define SSLI_ERROR_SYSCALL
GNUTLS_E_PREMATURE_TERMINATION
typedef gnutls_session_t SSL_handle_t;