summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/child/webcrypto/openssl/ec_algorithm_openssl.cc2
-rw-r--r--content/child/webcrypto/openssl/rsa_hashed_algorithm_openssl.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/child/webcrypto/openssl/ec_algorithm_openssl.cc b/content/child/webcrypto/openssl/ec_algorithm_openssl.cc
index 760ec02..5c41148 100644
--- a/content/child/webcrypto/openssl/ec_algorithm_openssl.cc
+++ b/content/child/webcrypto/openssl/ec_algorithm_openssl.cc
@@ -260,7 +260,7 @@ Status EcAlgorithm::GenerateKey(const blink::WebCryptoAlgorithm& algorithm,
params->namedCurve());
// Note that extractable is unconditionally set to true. This is because per
- // the WebCrypto spec generated public keys are always public.
+ // the WebCrypto spec generated public keys are always extractable.
status = CreateWebCryptoPublicKey(public_pkey.Pass(), key_algorithm, true,
public_usages, &public_key);
if (status.IsError())
diff --git a/content/child/webcrypto/openssl/rsa_hashed_algorithm_openssl.cc b/content/child/webcrypto/openssl/rsa_hashed_algorithm_openssl.cc
index 15fe9d1..1db15db 100644
--- a/content/child/webcrypto/openssl/rsa_hashed_algorithm_openssl.cc
+++ b/content/child/webcrypto/openssl/rsa_hashed_algorithm_openssl.cc
@@ -210,7 +210,7 @@ Status RsaHashedAlgorithm::GenerateKey(
blink::WebCryptoKey private_key;
// Note that extractable is unconditionally set to true. This is because per
- // the WebCrypto spec generated public keys are always public.
+ // the WebCrypto spec generated public keys are always extractable.
status = CreateWebCryptoRsaPublicKey(public_pkey.Pass(), algorithm.id(),
params->hash(), true, public_usages,
&public_key);