aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_peer.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-09-03 12:50:18 +0200
committerMartin Willi <martin@revosec.ch>2010-09-03 14:54:43 +0200
commit4cdade5aaecf7c03bc68ede05877ff04eef665fc (patch)
treeb8244f3908d4f588a02cd8ab8c8629b016cb53cd /src/libtls/tls_peer.c
parent37a59a8fbfc6f3203ecf79d9294fc10af981baf0 (diff)
downloadstrongswan-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.c2
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);