summaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-06-26 10:37:03 -0400
committerKurt Roeckx <kurt@roeckx.be>2016-06-28 18:30:41 +0200
commit03cb37acec0c23a01bee4357cd59ec9f97e528ba (patch)
tree57f85dc0c904e3f911eb797b0a68382aac60ceae /fuzz
parentd2b23cd2b077de8507c49f632e20dfcdb653a35b (diff)
Add comment about X509_print
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Emilia Kasper <emilia@openssl.org> GH: #1255
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/x509.c1
1 files changed, 1 insertions, 0 deletions
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);