| Index: content/child/webcrypto/webcrypto_util.cc
|
| diff --git a/content/child/webcrypto/webcrypto_util.cc b/content/child/webcrypto/webcrypto_util.cc
|
| index 247437775f1112bc03e579b256ecdb10e3fd392f..294cfcc34029dea36aa0a83806bf00a232f1bc57 100644
|
| --- a/content/child/webcrypto/webcrypto_util.cc
|
| +++ b/content/child/webcrypto/webcrypto_util.cc
|
| @@ -119,8 +119,6 @@ blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm(
|
| blink::WebCryptoAlgorithmId id,
|
| blink::WebCryptoAlgorithmId hash_id) {
|
| DCHECK(blink::WebCryptoAlgorithm::isHash(hash_id));
|
| - DCHECK(id == blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5 ||
|
| - id == blink::WebCryptoAlgorithmIdRsaOaep);
|
| return blink::WebCryptoAlgorithm::adoptParamsAndCreate(
|
| id, new blink::WebCryptoRsaHashedImportParams(CreateAlgorithm(hash_id)));
|
| }
|
| @@ -138,7 +136,8 @@ bool KeyUsageAllows(const blink::WebCryptoKey& key,
|
|
|
| bool IsAlgorithmRsa(blink::WebCryptoAlgorithmId alg_id) {
|
| return alg_id == blink::WebCryptoAlgorithmIdRsaOaep ||
|
| - alg_id == blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5;
|
| + alg_id == blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5 ||
|
| + alg_id == blink::WebCryptoAlgorithmIdRsaPss;
|
| }
|
|
|
| bool IsAlgorithmAsymmetric(blink::WebCryptoAlgorithmId alg_id) {
|
|
|