diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-05-08 13:28:07 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-05-08 13:28:07 +0100 |
commit | a775dd1d134bea7f18927742ca55d1cab44a5474 (patch) | |
tree | 8eb111c5f52042923677c4feb55bc4fd9ad868c0 /src | |
parent | 7a501c874f028f689c44999ab05bb0d39da46941 (diff) |
OpenSSL: fix build under older library version
Broken-by: 4f1d23a1aa
Diffstat (limited to 'src')
-rw-r--r-- | src/src/tls-openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 4cf9863d2..f3ea6b28b 100644 --- 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) |