forked from wolfSSL/wolfssl
add macro for get thread id and update debug message for wolfSSL_HMAC
This commit is contained in:
@ -14020,9 +14020,11 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD *md)
|
||||
#endif
|
||||
void* heap = NULL;
|
||||
|
||||
WOLFSSL_ENTER("HMAC");
|
||||
if (!md)
|
||||
WOLFSSL_ENTER("wolfSSL_HMAC");
|
||||
if (!md) {
|
||||
WOLFSSL_MSG("Static buffer not supported, pass in md buffer");
|
||||
return NULL; /* no static buffer support */
|
||||
}
|
||||
|
||||
if (XSTRNCMP(evp_md, "MD5", 3) == 0)
|
||||
type = WC_MD5;
|
||||
|
@ -36,6 +36,9 @@
|
||||
WOLFSSL_API const char* wolfSSLeay_version(int type);
|
||||
WOLFSSL_API unsigned long wolfSSLeay(void);
|
||||
|
||||
/* depreciated */
|
||||
#define CRYPTO_thread_id() 0
|
||||
|
||||
#define CRYPTO_THREADID void
|
||||
|
||||
#define SSLeay_version wolfSSLeay_version
|
||||
|
Reference in New Issue
Block a user