diff --git a/src/ssl.c b/src/ssl.c index b141a546b..5caf7fafa 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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; diff --git a/wolfssl/openssl/crypto.h b/wolfssl/openssl/crypto.h index bb4d800d9..78a6af861 100644 --- a/wolfssl/openssl/crypto.h +++ b/wolfssl/openssl/crypto.h @@ -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