diff --git a/tests/api.c b/tests/api.c index 4b6cf2c00..76e607e51 100644 --- a/tests/api.c +++ b/tests/api.c @@ -15464,7 +15464,7 @@ static int test_wc_RsaSSL_SignVerify (void) DECLARE_VAR(plain, byte, plainSz, NULL); #ifdef DECLARE_VAR_IS_HEAP_ALLOC - if (in == NULL || plain == NULL || cipher == NULL) { + if (in == NULL || out == NULL || plain == NULL) { printf("test_wc_RsaSSL_SignVerify failed\n"); return MEMORY_E; }