- Made changes for better compatibility with old-style C compilers
diff --git a/programs/test/ssl_cert_test.c b/programs/test/ssl_cert_test.c
index 7ec3370..1be4341 100644
--- a/programs/test/ssl_cert_test.c
+++ b/programs/test/ssl_cert_test.c
@@ -83,6 +83,8 @@
* 1.2. Load own certificate
*/
char name[512];
+ int flags;
+
snprintf(name, 512, "ssl/test-ca/%s", client_certificates[i]);
printf( " . Loading the client certificatei %s...", name );
@@ -105,8 +107,6 @@
printf( " . Verify the client certificate with CA certificate..." );
fflush( stdout );
- int flags;
-
ret = x509parse_verify( &clicert, &cacert, NULL, &flags );
if( ret != 0 )
{