projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a501c8
)
OpenSSL: fix build under older library version
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 8 May 2019 12:28:07 +0000
(13:28 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 8 May 2019 12:28:07 +0000
(13:28 +0100)
Broken-by: 4f1d23a1aa
src/src/tls-openssl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-openssl.c
b/src/src/tls-openssl.c
index 4cf9863d2ccdf96f8710049ea98f63b0e72d23f3..f3ea6b28bfb7ff8d313305b92297b236a93f4033 100644
(file)
--- a/
src/src/tls-openssl.c
+++ b/
src/src/tls-openssl.c
@@
-2739,12
+2739,14
@@
if (tlsp->host_resumable)
debug_printf("decoding session: %s\n", ssl_errstring);
}
}
+#ifdef EXIM_HAVE_SESSION_TICKET
else if ( SSL_SESSION_get_ticket_lifetime_hint(ss) + dt->time_stamp
< time(NULL))
{
DEBUG(D_tls) debug_printf("session expired\n");
dbfn_delete(dbm_file, key);
}
+#endif
else if (!SSL_set_session(ssl, ss))
{
DEBUG(D_tls)