From: Jeremy Harris Date: Sun, 29 Mar 2020 14:00:07 +0000 (+0100) Subject: OpenSSL: under resumption open ticket DB writable, for record delete X-Git-Tag: exim-4_94_RC0~42 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/c685a2e3d970d25b36a00e4110f975b588b0bbab OpenSSL: under resumption open ticket DB writable, for record delete --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index af5d952f7..146ed695d 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -2994,7 +2994,7 @@ if (tlsp->host_resumable) tlsp->resumption |= RESUME_CLIENT_REQUESTED; DEBUG(D_tls) debug_printf("checking for resumable session for %s\n", key); - if ((dbm_file = dbfn_open(US"tls", O_RDONLY, &dbblock, FALSE, FALSE))) + if ((dbm_file = dbfn_open(US"tls", O_RDWR, &dbblock, FALSE, FALSE))) { /* key for the db is the IP */ if ((dt = dbfn_read_with_length(dbm_file, key, &len)))