mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 12:22:20 +01:00
removing more locations of WOLFSSL_API used with function implementations
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user