aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-09-07 13:53:23 +0200
committerHans Nilsson <[email protected]>2018-09-07 13:53:23 +0200
commit81d122a59e0f81e8cc71a0c8e0dae7ea05d15755 (patch)
treebfb311ad91990a4f14b07106f60b556dd568d7a9
parentabd31c81eea2e19d967f42b09f32bb87528c83d8 (diff)
parent404f821877d6dec529f1ee049f020026983d6537 (diff)
downloadotp-81d122a59e0f81e8cc71a0c8e0dae7ea05d15755.tar.gz
otp-81d122a59e0f81e8cc71a0c8e0dae7ea05d15755.tar.bz2
otp-81d122a59e0f81e8cc71a0c8e0dae7ea05d15755.zip
Merge branch 'maint'
* maint: 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 ->