Fix reference to public key in evp.h docs
These can be public or private keys. OpenSSL's API generally does not
capture public vs private in the type system.
Change-Id: Ia76373c4de74a8ad4e46d1d500491eb4b5a0dafc
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/81268
Commit-Queue: David Benjamin <davidben@google.com>
Auto-Submit: David Benjamin <davidben@google.com>
Reviewed-by: Lily Chen <chlily@google.com>
Commit-Queue: Lily Chen <chlily@google.com>
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 988e1da..13bf55e 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -37,7 +37,7 @@
// EVP abstracts over public/private key algorithms.
-// Public key objects.
+// Public/private key objects.
//
// An |EVP_PKEY| object represents a public or private key. A given object may
// be used concurrently on multiple threads by non-mutating functions, provided
@@ -94,9 +94,9 @@
OPENSSL_EXPORT int EVP_PKEY_id(const EVP_PKEY *pkey);
-// Getting and setting concrete public key types.
+// Getting and setting concrete key types.
//
-// The following functions get and set the underlying public key in an
+// The following functions get and set the underlying key representation in an
// |EVP_PKEY| object. The |set1| functions take an additional reference to the
// underlying key and return one on success or zero if |key| is NULL. The
// |assign| functions adopt the caller's reference and return one on success or