aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-09-07 13:53:10 +0200
committerHans Nilsson <[email protected]>2018-09-07 13:53:10 +0200
commit404f821877d6dec529f1ee049f020026983d6537 (patch)
tree6fa5069b7f99efc7c46812dfef2932b4665468c7 /lib
parent11669ff55cee51168f6bd19e17c18c81be762bd8 (diff)
parentc88f1244b73417b08e71c19d5ec9fb6dbfcf2801 (diff)
downloadotp-404f821877d6dec529f1ee049f020026983d6537.tar.gz
otp-404f821877d6dec529f1ee049f020026983d6537.tar.bz2
otp-404f821877d6dec529f1ee049f020026983d6537.zip
Merge branch 'hans/public_key/DSAPrivateKey_in_verify/OTP-15284' into maint
* hans/public_key/DSAPrivateKey_in_verify/OTP-15284: public_key: Remove strange and unused(?) DSAPrivateKey from verify/5
Diffstat (limited to 'lib')
-rw-r--r--lib/public_key/src/public_key.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index b34f905fc3..3704503f1e 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -593,8 +593,6 @@ verify(DigestOrPlainText, DigestType, Signature, Key) ->
%% Backwards compatible
verify(Digest, none, Signature, Key = {_, #'Dss-Parms'{}}, Options) when is_binary(Digest) ->
verify({digest, Digest}, sha, Signature, Key, Options);
-verify(Digest, none, Signature, Key = #'DSAPrivateKey'{}, Options) when is_binary(Digest) ->
- verify({digest, Digest}, sha, Signature, Key, Options);
verify(DigestOrPlainText, DigestType, Signature, Key, Options) when is_binary(Signature) ->
case format_verify_key(Key) of
badarg ->