aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-08-23 15:01:40 +0200
committerIngela Anderton Andin <[email protected]>2012-08-23 15:01:40 +0200
commitf5c54053e4d99c7c6eb1163047632d16c1fd5f19 (patch)
tree5ece82a994b212551373fab18a58b0209baa2893 /lib/ssl/src/ssl_connection.erl
parentf87936b28199e4ed6e67ff188996108776fbfb1f (diff)
downloadotp-f5c54053e4d99c7c6eb1163047632d16c1fd5f19.tar.gz
otp-f5c54053e4d99c7c6eb1163047632d16c1fd5f19.tar.bz2
otp-f5c54053e4d99c7c6eb1163047632d16c1fd5f19.zip
ssl: Clean up of code thanks to dialyzer
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r--lib/ssl/src/ssl_connection.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 4954f5d668..ff2556c488 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1633,8 +1633,6 @@ verify_dh_params(_Version, Signed, Hashes, _HashAlgo, {?rsaEncryption, PubKey, _
_ ->
false
end;
-verify_dh_params(_Version, Signed, Hash, undefined, {?'id-dsa', PublicKey, PublicKeyParams}) ->
- public_key:verify({digest, Hash}, sha, Signed, {PublicKey, PublicKeyParams});
verify_dh_params(_Version, Signed, Hash, HashAlgo, {?'id-dsa', PublicKey, PublicKeyParams}) ->
public_key:verify({digest, Hash}, HashAlgo, Signed, {PublicKey, PublicKeyParams}).