summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p5_crpt2.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-06-29 23:52:08 +0000
committerUlf Möller <ulf@openssl.org>1999-06-29 23:52:08 +0000
commit5676d8cb7679589523549ca8587277428cb0ce6b (patch)
tree1fd9858ecf505473290fa1c5635e6c19747aa9b2 /crypto/evp/p5_crpt2.c
parentce8b25741380eb08ca25ad06c2e83370067734ce (diff)
Fix no-hmac and no-ripemd.
Diffstat (limited to 'crypto/evp/p5_crpt2.c')
-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 ef3f941a7e..dd23bd24e4 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>
@@ -218,4 +219,4 @@ int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
PBKDF2PARAM_free(kdf);
return 0;
}
-
+#endif