diff options
author | Martin Willi <martin@revosec.ch> | 2010-09-03 12:50:18 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-09-03 14:54:43 +0200 |
commit | 4cdade5aaecf7c03bc68ede05877ff04eef665fc (patch) | |
tree | b8244f3908d4f588a02cd8ab8c8629b016cb53cd /src/libtls/tls_peer.c | |
parent | 37a59a8fbfc6f3203ecf79d9294fc10af981baf0 (diff) | |
download | strongswan-4cdade5aaecf7c03bc68ede05877ff04eef665fc.tar.bz2 strongswan-4cdade5aaecf7c03bc68ede05877ff04eef665fc.tar.xz |
Select private key based on received cipher suites
Diffstat (limited to 'src/libtls/tls_peer.c')
-rw-r--r-- | src/libtls/tls_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtls/tls_peer.c b/src/libtls/tls_peer.c index 7cfbe144c..b66a21f48 100644 --- a/src/libtls/tls_peer.c +++ b/src/libtls/tls_peer.c @@ -156,7 +156,7 @@ static status_t process_server_hello(private_tls_peer_t *this, return NEED_MORE; } suite = cipher; - if (!this->crypto->select_cipher_suite(this->crypto, &suite, 1)) + if (!this->crypto->select_cipher_suite(this->crypto, &suite, 1, KEY_ANY)) { DBG1(DBG_TLS, "received TLS cipher suite %N inacceptable", tls_cipher_suite_names, suite); |