aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/pubkey_cert.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-09-11 08:41:29 +0200
committerIngela Anderton Andin <[email protected]>2012-09-11 08:41:29 +0200
commitd92c4f802bf7b1df106db05c184bf13330741eed (patch)
tree5fe1404ac799a51bbe08a265a167311f0d7725f3 /lib/public_key/src/pubkey_cert.erl
parent579fb061a9ff803017217b45a0e02dd35518324b (diff)
parentf7678d40af216e23ca90217d8692a3609867473e (diff)
downloadotp-d92c4f802bf7b1df106db05c184bf13330741eed.tar.gz
otp-d92c4f802bf7b1df106db05c184bf13330741eed.tar.bz2
otp-d92c4f802bf7b1df106db05c184bf13330741eed.zip
Merge branch 'ia/public_key-missing-sha224/OTP-9362'
* ia/public_key-missing-sha224/OTP-9362: 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) ->