aboutsummaryrefslogtreecommitdiffstats
path: root/openssl_missing.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl_missing.c')
-rw-r--r--openssl_missing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl_missing.c b/openssl_missing.c
index 5d6c0eb..577e1e0 100644
--- a/openssl_missing.c
+++ b/openssl_missing.c
@@ -12,11 +12,12 @@
#include "openssl_missing.h"
/* to hmac.[ch] */
+#ifndef NO_HMAC
int
HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in)
{
if (in == NULL) {
- /*HMACerr(HMAC_CTX_COPY,HMAC_R_INPUT_NOT_INITIALIZED);*/
+ /* HMACerr(HMAC_CTX_COPY,HMAC_R_INPUT_NOT_INITIALIZED); */
return 0;
}
@@ -24,4 +25,5 @@ HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in)
return 1;
}
+#endif