diff options
author | Ingela Anderton Andin <[email protected]> | 2012-08-21 16:51:29 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:47 +0200 |
commit | c9db6bc867ecf1bf581849dd3290b0c9a40e1961 (patch) | |
tree | 0f295b99c6938bbf7d1cb3cfbd2200120411c314 /lib/ssl/src/ssl_certificate.erl | |
parent | 8f97b428eb8f2fb89c3f9ec348f577304b1b9131 (diff) | |
download | otp-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.erl | 7 |
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. |