From: Alex Gaynor Date: Sun, 26 Jun 2016 14:37:03 +0000 (-0400) Subject: Add comment about X509_print X-Git-Tag: OpenSSL_1_1_0-pre6~317 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03cb37acec0c23a01bee4357cd59ec9f97e528ba;p=oweals%2Fopenssl.git Add comment about X509_print Signed-off-by: Kurt Roeckx Reviewed-by: Emilia Kasper GH: #1255 --- diff --git a/fuzz/x509.c b/fuzz/x509.c index a0fab2f600..cc6ff83bab 100644 --- a/fuzz/x509.c +++ b/fuzz/x509.c @@ -19,6 +19,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) { X509 *x509 = d2i_X509(NULL, &p, len); if (x509 != NULL) { BIO *bio = BIO_new(BIO_s_null()); + /* This will load and print the public key as well as extensions */ X509_print(bio, x509); BIO_free(bio);