summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2016-01-25 16:28:58 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-26 00:30:21 +0000
commit8131e3eb23a764c79113fd71f52ca127018527b7 (patch)
tree8337b42e02e597a73750b9c0e32a288ee8826bc4 /crypto
parent73172fb8462566ad1982e0bbad7bbf6639c9e66d (diff)
downloadchromium_src-8131e3eb23a764c79113fd71f52ca127018527b7.zip
chromium_src-8131e3eb23a764c79113fd71f52ca127018527b7.tar.gz
chromium_src-8131e3eb23a764c79113fd71f52ca127018527b7.tar.bz2
Fix RSAPrivateKey::ExportPrivateKey documentation.
It's a PKCS#8 PrivateKeyInfo blob, not a PKCS#1 RSAPrivateKey. BUG=none Review URL: https://codereview.chromium.org/1639553002 Cr-Commit-Position: refs/heads/master@{#371377}
Diffstat (limited to 'crypto')
-rw-r--r--crypto/rsa_private_key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h
index 9703334..d4808f5 100644
--- a/crypto/rsa_private_key.h
+++ b/crypto/rsa_private_key.h
@@ -200,7 +200,7 @@ class CRYPTO_EXPORT RSAPrivateKey {
// Creates a copy of the object.
RSAPrivateKey* Copy() const;
- // Exports the private key to a PKCS #1 PrivateKey block.
+ // Exports the private key to a PKCS #8 PrivateKeyInfo block.
bool ExportPrivateKey(std::vector<uint8_t>* output) const;
// Exports the public key to an X509 SubjectPublicKeyInfo block.