Address review comments from https://boringssl-review.googlesource.com/#/c/11920/2

In https://boringssl-review.googlesource.com/#/c/11920/2, I addressed a
number of comments but then forgot to upload the change before
submitting it. This change contains the changes that should have been
included in that commit.

Change-Id: Ib70548e791f80abf07a734e071428de8ebedb907
Reviewed-on: https://boringssl-review.googlesource.com/12160
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/include/openssl/x509.h b/include/openssl/x509.h
index a457b66..8f2e1c3 100644
--- a/include/openssl/x509.h
+++ b/include/openssl/x509.h
@@ -638,11 +638,11 @@
 		unsigned char *md, unsigned int *len);
 #endif
 
-/* d2i_X509_from_buffer parses an X.509 structure from |buf| and returns a
+/* X509_parse_from_buffer parses an X.509 structure from |buf| and returns a
  * fresh X509 or NULL on error. There must not be any trailing data in |buf|.
  * The returned structure (if any) holds a reference to |buf| rather than
  * copying parts of it as a normal |d2i_X509| call would do. */
-OPENSSL_EXPORT X509 *d2i_X509_from_buffer(CRYPTO_BUFFER *buf);
+OPENSSL_EXPORT X509 *X509_parse_from_buffer(CRYPTO_BUFFER *buf);
 
 #ifndef OPENSSL_NO_FP_API
 OPENSSL_EXPORT X509 *d2i_X509_fp(FILE *fp, X509 **x509);