diff options
author | lloyd <[email protected]> | 2012-06-17 16:44:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-17 16:44:21 +0000 |
commit | 3dc5ce43fd50d9657e8a9f20dcaa72dd2a7fc5b6 (patch) | |
tree | 75d586475441a72e441d857827aa4d8f385619d2 /src | |
parent | 49e7fb8b07a0ae100b49a49561b3a0687f183d20 (diff) |
We would never negotiate anon DH/ECDH even if policy allowed it and
the client requested because we wouldn't have a cert chain set for
anon.
Diffstat (limited to 'src')
-rw-r--r-- | src/tls/tls_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp index 9027fbd2f..91596b065 100644 --- a/src/tls/tls_server.cpp +++ b/src/tls/tls_server.cpp @@ -120,7 +120,7 @@ u16bit choose_ciphersuite( if(!have_shared_ecc_curve && suite.ecc_ciphersuite()) continue; - if(cert_chains.count(suite.sig_algo()) == 0) + if(suite.sig_algo() != "" && cert_chains.count(suite.sig_algo()) == 0) continue; /* |