[exim-cvs] OpenSSL: under resumption open ticket DB writable…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] OpenSSL: under resumption open ticket DB writable, for record delete
Gitweb: https://git.exim.org/exim.git/commitdiff/c685a2e3d970d25b36a00e4110f975b588b0bbab
Commit:     c685a2e3d970d25b36a00e4110f975b588b0bbab
Parent:     54a2a2a9983913a91ccef3aac107a159434a4714
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Mar 29 15:00:07 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Mar 29 15:00:07 2020 +0100


    OpenSSL: under resumption open ticket DB writable, for record delete
---
 src/src/tls-openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index af5d952..146ed69 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)))