diff options
author | Jack Lloyd <[email protected]> | 2017-08-31 19:09:22 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-31 19:20:10 -0400 |
commit | d42bbd3540f09dd154123e97032f5bfc0b110c4e (patch) | |
tree | 0f3676a25963544b06d7c6c339f9828d95f36363 /src/cli | |
parent | c53cfda7b5e2f57927041c67be9db10b18b2ba8a (diff) |
Enforce signature hash policy properly
Previously if the client did not send signature_algorithms, or if
it only included algos not in the policy, we would just fallback to
the hardcoded SHA-1 default of TLS v1.2
Instead check the policy before accepting anything.
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/tls_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_server.cpp b/src/cli/tls_server.cpp index 22e592f29..82b2f5e2f 100644 --- a/src/cli/tls_server.cpp +++ b/src/cli/tls_server.cpp @@ -218,7 +218,7 @@ class TLS_Server final : public Command } catch(std::exception& e) { - std::cout << "Connection1 problem: " << e.what() << std::endl; + std::cout << "Connection problem: " << e.what() << std::endl; if(is_tcp) { ::close(fd); |