diff options
author | Hans Nilsson <[email protected]> | 2018-08-28 17:47:01 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-09-07 13:50:32 +0200 |
commit | c88f1244b73417b08e71c19d5ec9fb6dbfcf2801 (patch) | |
tree | c74df20ff4b6aa89bcccf2b6ccee1885e3551d72 /lib | |
parent | d4d6ed058530e5db26782dea4a0fd62c2d1098c4 (diff) | |
download | otp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.tar.gz otp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.tar.bz2 otp-c88f1244b73417b08e71c19d5ec9fb6dbfcf2801.zip |
public_key: Remove strange and unused(?) DSAPrivateKey from verify/5
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public_key/src/public_key.erl | 2 |
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 -> |