[exim-cvs] tls_require_ciphers must be assigned to state cop…

Top Pagina
Delete this message
Reply to this message
Auteur: Exim Git Commits Mailing List
Datum:  
Aan: exim-cvs
Onderwerp: [exim-cvs] tls_require_ciphers must be assigned to state copy
Gitweb: http://git.exim.org/exim.git/commitdiff/5779e6aa2e83b7e60d0c20e873de922b88e35be4
Commit:     5779e6aa2e83b7e60d0c20e873de922b88e35be4
Parent:     cfdf9d6b910baba18692adcc7d924d60da401176
Author:     Phil Pennock <pdp@???>
AuthorDate: Sun May 20 18:22:06 2012 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Sun May 20 18:22:06 2012 -0400


    tls_require_ciphers must be assigned to state copy
---
 doc/doc-txt/ChangeLog |    3 +++
 src/src/tls-gnu.c     |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index 21f1ec7..3d0f5c2 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -134,6 +134,9 @@ PP/31 %D in printf continues to cause issues (-Wformat=security), so for
       As part of this, removing so much warning spew let me fix some minor
       real issues in debug logging.


+PP/32 GnuTLS was always using default tls_require_ciphers, due to a missing
+      assignment on my part.  Fixed.
+


Exim version 4.77
-----------------
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index 51fdb86..9d121f9 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -870,6 +870,7 @@ state->host = host;

state->tls_certificate = certificate;
state->tls_privatekey = privatekey;
+state->tls_require_ciphers = require_ciphers;
state->tls_sni = sni;
state->tls_verify_certificates = cas;
state->tls_crl = crl;