summaryrefslogtreecommitdiffstats
path: root/content/child
diff options
context:
space:
mode:
authoreroman <eroman@chromium.org>2014-12-31 18:54:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-01 02:55:26 +0000
commit4b3f913f8f037da39f74654ef42033626bca8ab3 (patch)
tree508e890325feaeece2db5fbbda6ccb2f9fc015b0 /content/child
parentba702e27dc1c9373065c2408d86c682e0136d5ac (diff)
downloadchromium_src-4b3f913f8f037da39f74654ef42033626bca8ab3.zip
chromium_src-4b3f913f8f037da39f74654ef42033626bca8ab3.tar.gz
chromium_src-4b3f913f8f037da39f74654ef42033626bca8ab3.tar.bz2
Fix a typo in comment.
BUG=None Review URL: https://codereview.chromium.org/834633003 Cr-Commit-Position: refs/heads/master@{#309822}
Diffstat (limited to 'content/child')
-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);