aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_server.cpp
diff options
context:
space:
mode:
authorChristian Mainka <[email protected]>2016-05-03 16:41:18 +0200
committerChristian Mainka <[email protected]>2016-05-03 16:41:18 +0200
commit6d327f879c608908ca2c6b9b99f7fd74d498b4ef (patch)
tree37887b96bf353db53aef93525a49706c7967de2d /src/lib/tls/tls_server.cpp
parente6f56a82b639776282b9f4fd6a66e426ea0910d2 (diff)
TLS Policy support
* --policy works for TLS Server and TLS Client * Example policy BSI_TR-02102-2.txt * Fine granular configuration for TLS 1.0, 1.1, 1.2 and DTLS 1.0 and 1.2 * Minimum ecdh and rsa group size
Diffstat (limited to 'src/lib/tls/tls_server.cpp')
-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 41b14ae08..39b5afd65 100644
--- a/src/lib/tls/tls_server.cpp
+++ b/src/lib/tls/tls_server.cpp
@@ -591,7 +591,7 @@ void Server::process_handshake_msg(const Handshake_State* active_state,
}
else if(type == CERTIFICATE)
{
- state.client_certs(new Certificate(contents));
+ state.client_certs(new Certificate(contents, policy()));
state.set_expected_next(CLIENT_KEX);
}