aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/tls/tls_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_server.cpp b/src/lib/tls/tls_server.cpp
index 8265a2846..434acf93d 100644
--- a/src/lib/tls/tls_server.cpp
+++ b/src/lib/tls/tls_server.cpp
@@ -205,7 +205,7 @@ uint16_t choose_ciphersuite(
continue;
}
- if(version.supports_negotiable_signature_algorithms())
+ if(version.supports_negotiable_signature_algorithms() && suite.sig_algo() != "")
{
const std::vector<std::pair<std::string, std::string>> client_sig_hash_pairs =
client_hello.supported_algos();