Add similar trick to GCM routines so our code is more uniform
This commit is contained in:
parent
a00abb0f88
commit
f734f5037d
12
tests/api.c
12
tests/api.c
@ -45355,12 +45355,20 @@ static int test_wolfSSL_EVP_md4(void)
|
||||
|
||||
static int test_wolfSSL_EVP_aes_256_gcm(void)
|
||||
{
|
||||
return TEST_RES_CHECK(wolfSSL_EVP_aes_256_gcm() != NULL);
|
||||
int res = TEST_SKIPPED;
|
||||
#ifdef HAVE_AESGCM
|
||||
res = TEST_RES_CHECK(wolfSSL_EVP_aes_256_gcm() != NULL);
|
||||
#endif
|
||||
return res;
|
||||
}
|
||||
|
||||
static int test_wolfSSL_EVP_aes_192_gcm(void)
|
||||
{
|
||||
return TEST_RES_CHECK(wolfSSL_EVP_aes_192_gcm() != NULL);
|
||||
int res = TEST_SKIPPED;
|
||||
#ifdef HAVE_AESGCM
|
||||
res = TEST_RES_CHECK(wolfSSL_EVP_aes_192_gcm() != NULL);
|
||||
#endif
|
||||
return res;
|
||||
}
|
||||
|
||||
static int test_wolfSSL_EVP_aes_256_ccm(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user