projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c6f63
)
Fix build with older GnuTLS, redux
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 25 Apr 2019 18:37:31 +0000
(19:37 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 25 Apr 2019 18:37:31 +0000
(19:37 +0100)
src/src/tls-gnu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index e08381344dd51e3967d5e7bf90b9378e016710a6..91ddc579b8eabd64c324a45346c1694359e1bd68 100644
(file)
--- a/
src/src/tls-gnu.c
+++ b/
src/src/tls-gnu.c
@@
-2070,7
+2070,11
@@
debug_printf("gnutls_handshake was successful\n");
debug_printf("%s\n", gnutls_session_get_desc(state->session));
#endif
#ifdef SUPPORT_GNUTLS_KEYLOG
+# ifdef GNUTLS_TLS1_3
if (gnutls_protocol_get_version(state->session) < GNUTLS_TLS1_3)
+#else
+if (TRUE)
+#endif
{
gnutls_datum_t c, s;
gstring * gc, * gs;