summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-03-29 15:00:07 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-03-29 15:00:07 +0100
commitc685a2e3d970d25b36a00e4110f975b588b0bbab (patch)
treeec542ae653fabd859405d39579a112086ac306ab /src
parent54a2a2a9983913a91ccef3aac107a159434a4714 (diff)
OpenSSL: under resumption open ticket DB writable, for record delete
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c2
1 files changed, 1 insertions, 1 deletions
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)))