aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_certificate.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-08-21 16:51:29 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:47 +0200
commitc9db6bc867ecf1bf581849dd3290b0c9a40e1961 (patch)
tree0f295b99c6938bbf7d1cb3cfbd2200120411c314 /lib/ssl/src/ssl_certificate.erl
parent8f97b428eb8f2fb89c3f9ec348f577304b1b9131 (diff)
downloadotp-c9db6bc867ecf1bf581849dd3290b0c9a40e1961.tar.gz
otp-c9db6bc867ecf1bf581849dd3290b0c9a40e1961.tar.bz2
otp-c9db6bc867ecf1bf581849dd3290b0c9a40e1961.zip
ssl & public_key: Add use of more "sha-rsa oids"
Diffstat (limited to 'lib/ssl/src/ssl_certificate.erl')
-rw-r--r--lib/ssl/src/ssl_certificate.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_certificate.erl b/lib/ssl/src/ssl_certificate.erl
index 605c267144..86f5617b54 100644
--- a/lib/ssl/src/ssl_certificate.erl
+++ b/lib/ssl/src/ssl_certificate.erl
@@ -172,7 +172,12 @@ extensions_list(Extensions) ->
%% Description:
%%--------------------------------------------------------------------
signature_type(RSA) when RSA == ?sha1WithRSAEncryption;
- RSA == ?md5WithRSAEncryption ->
+ RSA == ?md5WithRSAEncryption;
+ RSA == ?sha224WithRSAEncryption;
+ RSA == ?sha256WithRSAEncryption;
+ RSA == ?sha384WithRSAEncryption;
+ RSA == ?sha512WithRSAEncryption
+ ->
rsa;
signature_type(?'id-dsa-with-sha1') ->
dsa.