removing more locations of WOLFSSL_API used with function implementations

This commit is contained in:
JacobBarthelmeh
2025-07-10 16:44:28 -06:00
parent 13b8a972ea
commit 01cd91cbea
10 changed files with 22 additions and 22 deletions

View File

@@ -24975,7 +24975,7 @@ int wc_CertGetPubKey(const byte* cert, word32 certSz,
* @return BAD_FUNC_ARG if certDer is NULL, certSz is 0, or pubKeyDerSz is NULL
* @return BUFFER_E if the provided buffer is too small
*/
WOLFSSL_API int wc_GetSubjectPubKeyInfoDerFromCert(const byte* certDer,
int wc_GetSubjectPubKeyInfoDerFromCert(const byte* certDer,
word32 certDerSz,
byte* pubKeyDer,
word32* pubKeyDerSz)

View File

@@ -172,7 +172,7 @@ static const char* GetCryptoCbCmdTypeStr(int type)
}
#endif
WOLFSSL_API void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
{
if (info == NULL)
return;

View File

@@ -1378,7 +1378,7 @@ static int GeneratePublicDh(DhKey* key, byte* priv, word32 privSz,
* Given a DhKey with set params and a priv key, generate the corresponding
* public key. If fips, does pub key validation.
* */
WOLFSSL_API int wc_DhGeneratePublic(DhKey* key, byte* priv, word32 privSz,
int wc_DhGeneratePublic(DhKey* key, byte* priv, word32 privSz,
byte* pub, word32* pubSz)
{
int ret = 0;

View File

@@ -176,7 +176,7 @@ void wolfSSL_Debugging_OFF(void)
#endif
}
WOLFSSL_API void wolfSSL_SetLoggingPrefix(const char* prefix)
void wolfSSL_SetLoggingPrefix(const char* prefix)
{
#ifdef DEBUG_WOLFSSL
log_prefix = prefix;
@@ -490,7 +490,7 @@ void WOLFSSL_LEAVE2(const char *file, int line, const char* msg, int ret)
#endif
#endif
WOLFSSL_API int WOLFSSL_IS_DEBUG_ON(void)
int WOLFSSL_IS_DEBUG_ON(void)
{
return loggingEnabled;
}