summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/evp/p5_crpt2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index 65c4afa9bb..27a2c518be 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -55,6 +55,7 @@
* Hudson (tjh@cryptsoft.com).
*
*/
+#if !defined(NO_HMAC) && !defined(NO_SHA)
#include <stdio.h>
#include <stdlib.h>
#include <openssl/x509.h>
@@ -243,4 +244,4 @@ static void h__dump (const unsigned char *p, int len)
fprintf(stderr, "\n");
}
#endif
-
+#endif