From 03cb37acec0c23a01bee4357cd59ec9f97e528ba Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 26 Jun 2016 10:37:03 -0400 Subject: [PATCH] Add comment about X509_print Signed-off-by: Kurt Roeckx Reviewed-by: Emilia Kasper GH: #1255 --- fuzz/x509.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.25.1