Fixed a comment that referenced the wrong method
authorAlex Gaynor <alex.gaynor@gmail.com>
Mon, 3 Sep 2018 17:27:18 +0000 (13:27 -0400)
committerPauli <paul.dale@oracle.com>
Mon, 3 Sep 2018 23:46:19 +0000 (09:46 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7100)

include/openssl/x509.h

index 0b49864fa025c83f15ec9df4e2b49585dee2a0fd..3a03562ed36c0fd6081f8194d5687ff30bd1b14e 100644 (file)
@@ -660,7 +660,7 @@ int X509_get_signature_type(const X509 *x);
 
 /*
  * This one is only used so that a binary form can output, as in
- * i2d_X509_NAME(X509_get_X509_PUBKEY(x), &buf)
+ * i2d_X509_PUBKEY(X509_get_X509_PUBKEY(x), &buf)
  */
 X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
 const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);