simplify visibility control

This commit is contained in:
Takashi Kojo 2017-12-02 06:01:24 +09:00 committed by Jacob Barthelmeh
parent dce628ae8e
commit b3ab0a9c11
2 changed files with 1 additions and 9 deletions

View File

@ -166,12 +166,6 @@ int wc_HmacSizeByType(int type)
return ret;
}
#ifdef OPENSSL_EXTRA
WOLFSSL_LOCAL
#else
static
#endif
int _InitHmac(Hmac* hmac, int type, void* heap)
{
int ret = 0;

View File

@ -156,9 +156,7 @@ WOLFSSL_API void wc_HmacFree(Hmac*);
WOLFSSL_API int wolfSSL_GetHmacMaxSize(void);
#ifdef OPENSSL_EXTRA
WOLFSSL_LOCAL int _InitHmac(Hmac* hmac, int type, void* heap);
#endif
WOLFSSL_LOCAL int _InitHmac(Hmac* hmac, int type, void* heap);
#ifdef HAVE_HKDF