aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2013-04-12 10:42:31 +0200
committerAndreas Schultz <[email protected]>2013-04-12 10:42:31 +0200
commit69833e8f64e900eece91f5430c2462dd584fff31 (patch)
treed73df7e81019f8ebad9192b6687c665f16be0956 /lib/ssl/src
parente09920ed1da9ebf3efa814d8f5039140109beab3 (diff)
downloadotp-69833e8f64e900eece91f5430c2462dd584fff31.tar.gz
otp-69833e8f64e900eece91f5430c2462dd584fff31.tar.bz2
otp-69833e8f64e900eece91f5430c2462dd584fff31.zip
fix srp_anon ciphers suites requiring certificates to work.
This problem was not caught by the test suites since all PSK and SRP suites where always tested with certificates. Split those tests into test with and without certificates.
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 1843377582..fa64915fd0 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1547,7 +1547,7 @@ server_hello_done(#state{transport_cb = Transport,
tls_handshake_history = Handshake}.
certify_server(#state{key_algorithm = Algo} = State)
- when Algo == dh_anon; Algo == psk; Algo == dhe_psk ->
+ when Algo == dh_anon; Algo == psk; Algo == dhe_psk; Algo == srp_anon ->
State;
certify_server(#state{transport_cb = Transport,