projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a4f23
)
Fix build on older GnuTLS
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 2 May 2019 17:02:19 +0000
(18:02 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 2 May 2019 17:02:19 +0000
(18:02 +0100)
Broken-buy:
b10c87b38c
src/src/tls-gnu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index 8bd5aeda41697e58ba36582b25b9d91d9d0d8f24..03002c704522199ee0e37291f729c94b9efb98e9 100644
(file)
--- a/
src/src/tls-gnu.c
+++ b/
src/src/tls-gnu.c
@@
-2475,6
+2475,7
@@
but this flag is not set until the second. TLS 1.3 it's the other way about.
Keep both calls as the session data cannot be extracted before handshake
completes. */
+#ifdef GNUTLS_SFLAGS_SESSION_TICKET
if (gnutls_session_get_flags(session) & GNUTLS_SFLAGS_SESSION_TICKET)
{
gnutls_datum_t tkt;
@@
-2509,6
+2510,7
@@
if (gnutls_session_get_flags(session) & GNUTLS_SFLAGS_SESSION_TICKET)
else DEBUG(D_tls)
debug_printf("extract session data: %s\n", US gnutls_strerror(rc));
}
+#endif
}