Merge pull request #2790 from ejohnstown/abi-tweak

ABI Additions
This commit is contained in:
David Garske
2020-02-10 15:07:35 -08:00
committed by GitHub
6 changed files with 8 additions and 4 deletions

View File

@@ -1355,6 +1355,7 @@ int wolfSSL_negotiate(WOLFSSL* ssl)
}
WOLFSSL_ABI
WC_RNG* wolfSSL_GetRNG(WOLFSSL* ssl)
{
if (ssl) {
@@ -2067,6 +2068,7 @@ int wolfSSL_CTX_SetDevId(WOLFSSL_CTX* ctx, int devId)
}
/* helpers to get device id and heap */
WOLFSSL_ABI
int wolfSSL_CTX_GetDevId(WOLFSSL_CTX* ctx, WOLFSSL* ssl)
{
int devId = INVALID_DEVID;