aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/pubkey_cert.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-08-31 17:37:11 +0200
committerIngela Anderton Andin <[email protected]>2012-09-05 16:23:16 +0200
commitf7678d40af216e23ca90217d8692a3609867473e (patch)
treecf183d9695da9825e6f2fa128115323517b480bf /lib/public_key/src/pubkey_cert.erl
parent7093815df64fbf090351927282f998a22c3e1470 (diff)
downloadotp-f7678d40af216e23ca90217d8692a3609867473e.tar.gz
otp-f7678d40af216e23ca90217d8692a3609867473e.tar.bz2
otp-f7678d40af216e23ca90217d8692a3609867473e.zip
public_key: Add missing references to sha224 and sha384
Diffstat (limited to 'lib/public_key/src/pubkey_cert.erl')
-rw-r--r--lib/public_key/src/pubkey_cert.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public_key/src/pubkey_cert.erl b/lib/public_key/src/pubkey_cert.erl
index b76e32a2a0..f9e2025479 100644
--- a/lib/public_key/src/pubkey_cert.erl
+++ b/lib/public_key/src/pubkey_cert.erl
@@ -376,8 +376,12 @@ encoded_tbs_cert(Cert) ->
digest_type(?sha1WithRSAEncryption) ->
sha;
+digest_type(?sha224WithRSAEncryption) ->
+ sha224;
digest_type(?sha256WithRSAEncryption) ->
sha256;
+digest_type(?sha384WithRSAEncryption) ->
+ sha384;
digest_type(?sha512WithRSAEncryption) ->
sha512;
digest_type(?md5WithRSAEncryption) ->