diff options
author | Sverker Eriksson <sverker@erlang.org> | 2011-09-20 20:40:49 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2011-09-21 16:08:04 +0200 |
commit | 88653c79b3a6b8fe51e60d4b300ded1db041c181 (patch) | |
tree | 77e2cfefc2339a9a4ed900165ef7066b6a2ffb22 /lib/public_key/test/public_key_SUITE.erl | |
parent | 8d44ffaa66bf096a6679a7720f1f85af33f82668 (diff) | |
download | otp-88653c79b3a6b8fe51e60d4b300ded1db041c181.tar.gz otp-88653c79b3a6b8fe51e60d4b300ded1db041c181.tar.bz2 otp-88653c79b3a6b8fe51e60d4b300ded1db041c181.zip |
Revert "Support md2WithRSAEncryption certificates in public_key"
This reverts commit c7e5f7576e213060cbb332be64a7c3798f6a2cc2.
Diffstat (limited to 'lib/public_key/test/public_key_SUITE.erl')
-rw-r--r-- | lib/public_key/test/public_key_SUITE.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/public_key/test/public_key_SUITE.erl b/lib/public_key/test/public_key_SUITE.erl index a9c198c581..b11e4d092a 100644 --- a/lib/public_key/test/public_key_SUITE.erl +++ b/lib/public_key/test/public_key_SUITE.erl @@ -537,10 +537,7 @@ rsa_sign_verify(Config) when is_list(Config) -> false = public_key:verify(Msg, sha, <<1:8, RSASign/binary>>, PublicRSA), RSASign1 = public_key:sign(Msg, md5, PrivateRSA), - true = public_key:verify(Msg, md5, RSASign1, PublicRSA), - - RSASign2 = public_key:sign(Msg, md2, PrivateRSA), - true = public_key:verify(Msg, md2, RSASign2, PublicRSA). + true = public_key:verify(Msg, md5, RSASign1, PublicRSA). %%-------------------------------------------------------------------- |