mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
@ -1453,7 +1453,8 @@ int wolfSSL_X509_STORE_set_default_paths(WOLFSSL_X509_STORE* store)
|
|||||||
int X509StoreLoadCertBuffer(WOLFSSL_X509_STORE *str,
|
int X509StoreLoadCertBuffer(WOLFSSL_X509_STORE *str,
|
||||||
byte *buf, word32 bufLen, int type)
|
byte *buf, word32 bufLen, int type)
|
||||||
{
|
{
|
||||||
int ret = WC_NO_ERR_TRACE(WOLFSSL_SUCCESS);
|
int ret = WOLFSSL_SUCCESS;
|
||||||
|
|
||||||
WOLFSSL_X509 *x509 = NULL;
|
WOLFSSL_X509 *x509 = NULL;
|
||||||
|
|
||||||
if (str == NULL || buf == NULL) {
|
if (str == NULL || buf == NULL) {
|
||||||
|
@ -76347,7 +76347,7 @@ static int test_wolfSSL_X509V3_EXT_aia(void)
|
|||||||
sk = NULL;
|
sk = NULL;
|
||||||
}
|
}
|
||||||
/* Extension stack set but empty. */
|
/* Extension stack set but empty. */
|
||||||
ExpectNotNull(aia = wolfSSL_X509V3_EXT_d2i(ext));
|
ExpectNotNull(aia = (WOLFSSL_AUTHORITY_INFO_ACCESS *)wolfSSL_X509V3_EXT_d2i(ext));
|
||||||
wolfSSL_AUTHORITY_INFO_ACCESS_free(aia);
|
wolfSSL_AUTHORITY_INFO_ACCESS_free(aia);
|
||||||
aia = NULL;
|
aia = NULL;
|
||||||
|
|
||||||
@ -76367,7 +76367,7 @@ static int test_wolfSSL_X509V3_EXT_aia(void)
|
|||||||
node = NULL;
|
node = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ExpectNotNull(aia = wolfSSL_X509V3_EXT_d2i(ext));
|
ExpectNotNull(aia = (WOLFSSL_AUTHORITY_INFO_ACCESS *)wolfSSL_X509V3_EXT_d2i(ext));
|
||||||
wolfSSL_ACCESS_DESCRIPTION_free(NULL);
|
wolfSSL_ACCESS_DESCRIPTION_free(NULL);
|
||||||
|
|
||||||
wolfSSL_AUTHORITY_INFO_ACCESS_pop_free(aia,
|
wolfSSL_AUTHORITY_INFO_ACCESS_pop_free(aia,
|
||||||
|
Reference in New Issue
Block a user