aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/c_src/evp_compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/crypto/c_src/evp_compat.h b/lib/crypto/c_src/evp_compat.h
index f4eec69b09..98c861c45e 100644
--- a/lib/crypto/c_src/evp_compat.h
+++ b/lib/crypto/c_src/evp_compat.h
@@ -32,17 +32,17 @@
* we don't have to sprinkle ifdefs throughout the code.
*/
-static HMAC_CTX *HMAC_CTX_new(void);
-static void HMAC_CTX_free(HMAC_CTX *ctx);
+static INLINE HMAC_CTX *HMAC_CTX_new(void);
+static INLINE void HMAC_CTX_free(HMAC_CTX *ctx);
-static HMAC_CTX *HMAC_CTX_new()
+static INLINE HMAC_CTX *HMAC_CTX_new()
{
HMAC_CTX *ctx = CRYPTO_malloc(sizeof(HMAC_CTX), __FILE__, __LINE__);
HMAC_CTX_init(ctx);
return ctx;
}
-static void HMAC_CTX_free(HMAC_CTX *ctx)
+static INLINE void HMAC_CTX_free(HMAC_CTX *ctx)
{
HMAC_CTX_cleanup(ctx);
CRYPTO_free(ctx);