diff --git a/tests/api/test_x509.c b/tests/api/test_x509.c index f6943f4f95..7a16b9616b 100644 --- a/tests/api/test_x509.c +++ b/tests/api/test_x509.c @@ -994,7 +994,7 @@ int test_x509_ReqCertFromX509_skid_boundary(void) WOLFSSL_X509* parsed = NULL; WOLFSSL_X509_NAME* name = NULL; unsigned char* der = NULL; - int derSz; + int derSz = 0; const unsigned char* ecPriv = ecc_clikey_der_256; const unsigned char* ecPub = ecc_clikeypub_der_256; unsigned char expected_skid[CTC_MAX_SKID_SIZE];