Documentation typo.

Change-Id: Ie2e90cba642f416d3845171c96a3743846817657
Reviewed-on: https://boringssl-review.googlesource.com/25264
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2018-01-24 19:24:41 -05:00 committed by CQ bot account: commit-bot@chromium.org
parent 610cdbb102
commit 5a869aa3e8

View File

@ -757,7 +757,7 @@ OPENSSL_EXPORT void EVP_MD_do_all_sorted(void (*callback)(const EVP_MD *cipher,
// RSA keys are serialized as a DER-encoded RSAPublicKey (RFC 3447) structure. // RSA keys are serialized as a DER-encoded RSAPublicKey (RFC 3447) structure.
// EC keys are serialized as a DER-encoded ECPrivateKey (RFC 5915) structure. // EC keys are serialized as a DER-encoded ECPrivateKey (RFC 5915) structure.
// //
// Use |RSA_marshal_private_key| or |EC_marshal_private_key| instead. // Use |RSA_marshal_private_key| or |EC_KEY_marshal_private_key| instead.
OPENSSL_EXPORT int i2d_PrivateKey(const EVP_PKEY *key, uint8_t **outp); OPENSSL_EXPORT int i2d_PrivateKey(const EVP_PKEY *key, uint8_t **outp);
// i2d_PublicKey marshals a public key from |key| to a type-specific format. // i2d_PublicKey marshals a public key from |key| to a type-specific format.