aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/pubkey_cert.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-09-20 20:40:49 +0200
committerSverker Eriksson <[email protected]>2011-09-21 16:08:04 +0200
commit88653c79b3a6b8fe51e60d4b300ded1db041c181 (patch)
tree77e2cfefc2339a9a4ed900165ef7066b6a2ffb22 /lib/public_key/src/pubkey_cert.erl
parent8d44ffaa66bf096a6679a7720f1f85af33f82668 (diff)
downloadotp-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/src/pubkey_cert.erl')
-rw-r--r--lib/public_key/src/pubkey_cert.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/public_key/src/pubkey_cert.erl b/lib/public_key/src/pubkey_cert.erl
index 61082a1ec5..5ab9642279 100644
--- a/lib/public_key/src/pubkey_cert.erl
+++ b/lib/public_key/src/pubkey_cert.erl
@@ -38,7 +38,7 @@
%%====================================================================
%%--------------------------------------------------------------------
--spec verify_data(DER::binary()) -> {md2 | md5 | sha, binary(), binary()}.
+-spec verify_data(DER::binary()) -> {md5 | sha, binary(), binary()}.
%%
%% Description: Extracts data from DerCert needed to call public_key:verify/4.
%%--------------------------------------------------------------------
@@ -378,8 +378,6 @@ digest_type(?sha1WithRSAEncryption) ->
sha;
digest_type(?md5WithRSAEncryption) ->
md5;
-digest_type(?md2WithRSAEncryption) ->
- md2;
digest_type(?'id-dsa-with-sha1') ->
sha.