From 87bbcbb96a3319703c05cb023d262953bac2ab54 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Fri, 26 May 2023 16:12:14 -0400 Subject: [PATCH] Fix a syntax error. Tested with: ./configure --enable-debug --enable-all CFLAGS=-DDEBUG_WOLFSSL_VERBOSE --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 0e299dd77..fde5cda3f 100644 --- a/tests/api.c +++ b/tests/api.c @@ -63268,9 +63268,9 @@ static void obj_name_t(const OBJ_NAME* nm, void* arg) /* print to stderr */ AssertNotNull(arg); - bio = BIO_new(BIO_s_file()); + BIO *bio = BIO_new(BIO_s_file()); BIO_set_fp(bio, arg, BIO_NOCLOSE); - BIO_printf(bio, "%s\n", mn); + BIO_printf(bio, "%s\n", nm); BIO_free(bio); #endif }