Minor ABI updates.

pull/5420/head
Uriah Pollock 2022-08-08 10:16:05 -05:00
parent c9c19c82b3
commit b0aaf4a23d
4 changed files with 5 additions and 3 deletions

View File

@ -22314,6 +22314,7 @@ static word32 SetUTF8String(word32 len, byte* output)
/* wc_SetCert_Free is only public when WOLFSSL_CERT_GEN_CACHE is not defined */
static
#endif
WOLFSSL_ABI
void wc_SetCert_Free(Cert* cert)
{
if (cert != NULL) {

View File

@ -70,6 +70,7 @@ int wc_InitRng_ex(WC_RNG* rng, void* heap, int devId)
return InitRng_fips(rng);
}
WOLFSSL_ABI
int wc_InitRng(WC_RNG* rng)
{
return InitRng_fips(rng);
@ -951,7 +952,7 @@ void wc_rng_free(WC_RNG* rng)
}
}
WOLFSSL_ABI
int wc_InitRng(WC_RNG* rng)
{
return _InitRng(rng, NULL, 0, NULL, INVALID_DEVID);

View File

@ -504,7 +504,7 @@ WOLFSSL_API int wc_SetSubject(Cert* cert, const char* subjectFile);
#endif
#ifdef WOLFSSL_CERT_GEN_CACHE
WOLFSSL_API void wc_SetCert_Free(Cert* cert);
WOLFSSL_ABI WOLFSSL_API void wc_SetCert_Free(Cert* cert);
#endif
WOLFSSL_API int wc_SetIssuerBuffer(Cert* cert, const byte* der, int derSz);

View File

@ -627,7 +627,7 @@ int wc_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
word32 hashlen, int* res, ecc_key* key);
#endif /* HAVE_ECC_VERIFY */
WOLFSSL_API
WOLFSSL_ABI WOLFSSL_API
int wc_ecc_init(ecc_key* key);
WOLFSSL_ABI WOLFSSL_API
int wc_ecc_init_ex(ecc_key* key, void* heap, int devId);