| Index: content/child/webcrypto/algorithm_registry.cc
|
| diff --git a/content/child/webcrypto/algorithm_registry.cc b/content/child/webcrypto/algorithm_registry.cc
|
| index 7f674db0bbe7e68c3268f07b661203127d30bf3c..51dd6592764ea968b1a8302830caee79fc3d3612 100644
|
| --- a/content/child/webcrypto/algorithm_registry.cc
|
| +++ b/content/child/webcrypto/algorithm_registry.cc
|
| @@ -27,7 +27,8 @@ class AlgorithmRegistry {
|
| hmac_(CreatePlatformHmacImplementation()),
|
| rsa_ssa_(CreatePlatformRsaSsaImplementation()),
|
| rsa_oaep_(CreatePlatformRsaOaepImplementation()),
|
| - rsa_pss_(CreatePlatformRsaPssImplementation()) {
|
| + rsa_pss_(CreatePlatformRsaPssImplementation()),
|
| + ecdsa_(CreatePlatformEcdsaImplementation()) {
|
| PlatformInit();
|
| }
|
|
|
| @@ -55,6 +56,8 @@ class AlgorithmRegistry {
|
| return rsa_oaep_.get();
|
| case blink::WebCryptoAlgorithmIdRsaPss:
|
| return rsa_pss_.get();
|
| + case blink::WebCryptoAlgorithmIdEcdsa:
|
| + return ecdsa_.get();
|
| default:
|
| return NULL;
|
| }
|
| @@ -70,6 +73,7 @@ class AlgorithmRegistry {
|
| const scoped_ptr<AlgorithmImplementation> rsa_ssa_;
|
| const scoped_ptr<AlgorithmImplementation> rsa_oaep_;
|
| const scoped_ptr<AlgorithmImplementation> rsa_pss_;
|
| + const scoped_ptr<AlgorithmImplementation> ecdsa_;
|
| };
|
|
|
| } // namespace
|
|
|