Skip to content

Commit

Permalink
crypto/x509: add test for RSA-PSS-SHA256 CertificateRequest
Browse files Browse the repository at this point in the history
Updates golang#45990
  • Loading branch information
ycongal-smile committed May 6, 2021
1 parent 4dbad79 commit 0f15920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto/x509/x509_test.go
Expand Up @@ -1390,6 +1390,7 @@ func TestCreateCertificateRequest(t *testing.T) {
sigAlgo SignatureAlgorithm
}{
{"RSA", testPrivateKey, SHA1WithRSA},
{"RSA-PSS-SHA256", testPrivateKey, SHA256WithRSAPSS},
{"ECDSA-256", ecdsa256Priv, ECDSAWithSHA1},
{"ECDSA-384", ecdsa384Priv, ECDSAWithSHA1},
{"ECDSA-521", ecdsa521Priv, ECDSAWithSHA1},
Expand Down

0 comments on commit 0f15920

Please sign in to comment.