aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-10-15 12:09:34 +0200
committerIngela Anderton Andin <[email protected]>2018-10-23 15:41:04 +0200
commitfcbcaa59336bc75afcc7655c257b934e96030200 (patch)
treebae00fb6f1c690c51f759148a01b95ea40dba2f7 /lib/public_key/src
parent639bb57cf7d6550a48608dc827a6fd3aed1af005 (diff)
downloadotp-fcbcaa59336bc75afcc7655c257b934e96030200.tar.gz
otp-fcbcaa59336bc75afcc7655c257b934e96030200.tar.bz2
otp-fcbcaa59336bc75afcc7655c257b934e96030200.zip
public_key: Add DSA with SHA2 support
Diffstat (limited to 'lib/public_key/src')
-rw-r--r--lib/public_key/src/public_key.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 3f609ce6c6..dca1e0766e 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -609,6 +609,10 @@ pkix_sign_types(?'id-dsa-with-sha1') ->
{sha, dsa};
pkix_sign_types(?'id-dsaWithSHA1') ->
{sha, dsa};
+pkix_sign_types(?'id-dsa-with-sha224') ->
+ {sha224, dsa};
+pkix_sign_types(?'id-dsa-with-sha256') ->
+ {sha256, dsa};
pkix_sign_types(?'ecdsa-with-SHA1') ->
{sha, ecdsa};
pkix_sign_types(?'ecdsa-with-SHA256') ->