aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-08-28 17:47:01 +0200
committerHans Nilsson <[email protected]>2018-09-07 13:50:32 +0200
commitc88f1244b73417b08e71c19d5ec9fb6dbfcf2801 (patch)
treec74df20ff4b6aa89bcccf2b6ccee1885e3551d72
parentd4d6ed058530e5db26782dea4a0fd62c2d1098c4 (diff)
downloadotp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.tar.gz
otp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.tar.bz2
otp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.zip
public_key: Remove strange and unused(?) DSAPrivateKey from verify/5
-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 ->