aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-08-21 13:03:41 +0200
committerIngela Anderton Andin <[email protected]>2014-08-21 13:03:41 +0200
commit41bb781d809effb185a857b25009615bb9acbea7 (patch)
tree7ef858588e39e757ec57a5904470feee8af96260
parent4e688cf875e993ca27d29771ad31558934af99c7 (diff)
parentde2f549cb6d45bb18622dfad5da6f0b4ad52aedf (diff)
downloadotp-41bb781d809effb185a857b25009615bb9acbea7.tar.gz
otp-41bb781d809effb185a857b25009615bb9acbea7.tar.bz2
otp-41bb781d809effb185a857b25009615bb9acbea7.zip
Merge branch 'ia/ssl/dialyzer-certificate_requests' into maint
* ia/ssl/dialyzer-certificate_requests: ssl: Fix boolean expression ssl: Fix broken contract
-rw-r--r--lib/ssl/src/ssl_handshake.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
index 25bdc5ef93..94ffd180c5 100644
--- a/lib/ssl/src/ssl_handshake.erl
+++ b/lib/ssl/src/ssl_handshake.erl
@@ -201,7 +201,7 @@ client_certificate_verify(OwnCert, MasterSecret, Version,
end.
%%--------------------------------------------------------------------
--spec certificate_request(ssl_cipher:erl_cipher_suite(), db_handle(), certdb_ref(), ssl_record:ssl_version()) ->
+-spec certificate_request(ssl_cipher:cipher_suite(), db_handle(), certdb_ref(), ssl_record:ssl_version()) ->
#certificate_request{}.
%%
%% Description: Creates a certificate_request message, called by the server.
@@ -1112,7 +1112,7 @@ certificate_types({KeyExchange, _, _, _}, _) when KeyExchange == rsa;
KeyExchange == ecdhe_rsa ->
<<?BYTE(?RSA_SIGN)>>;
-certificate_types({KeyExchange, _, _, _}, _) when KeyExchange == dhe_dss,
+certificate_types({KeyExchange, _, _, _}, _) when KeyExchange == dhe_dss;
KeyExchange == srp_dss ->
<<?BYTE(?DSS_SIGN)>>;