| Index: Source/modules/crypto/RsaKeyAlgorithm.cpp
|
| diff --git a/Source/modules/crypto/RsaKeyAlgorithm.cpp b/Source/modules/crypto/RsaKeyAlgorithm.cpp
|
| index e0e22fd244d921df001da9d0f688082d2f9aee3a..301101a9502265ac80b303fd309ebb3c1e6e0c3e 100644
|
| --- a/Source/modules/crypto/RsaKeyAlgorithm.cpp
|
| +++ b/Source/modules/crypto/RsaKeyAlgorithm.cpp
|
| @@ -49,13 +49,13 @@ RsaKeyAlgorithm* RsaKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& alg
|
|
|
| unsigned RsaKeyAlgorithm::modulusLength()
|
| {
|
| - return m_algorithm.rsaParams()->modulusLengthBits();
|
| + return m_algorithm.rsaHashedParams()->modulusLengthBits();
|
| }
|
|
|
| Uint8Array* RsaKeyAlgorithm::publicExponent()
|
| {
|
| if (!m_publicExponent.get()) {
|
| - const blink::WebVector<unsigned char>& exponent = m_algorithm.rsaParams()->publicExponent();
|
| + const blink::WebVector<unsigned char>& exponent = m_algorithm.rsaHashedParams()->publicExponent();
|
| m_publicExponent = Uint8Array::create(exponent.data(), exponent.size());
|
| }
|
| return m_publicExponent.get();
|
| @@ -69,7 +69,7 @@ void RsaKeyAlgorithm::trace(Visitor* visitor)
|
| RsaKeyAlgorithm::RsaKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm)
|
| : KeyAlgorithm(algorithm)
|
| {
|
| - ASSERT(algorithm.rsaParams());
|
| + ASSERT(algorithm.rsaHashedParams());
|
| ScriptWrappable::init(this);
|
| }
|
|
|
|
|