projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix no-hmac and no-ripemd.
[openssl.git]
/
crypto
/
evp
/
p5_crpt2.c
diff --git
a/crypto/evp/p5_crpt2.c
b/crypto/evp/p5_crpt2.c
index ef3f941a7e5f5c593ca38860a19ebad09ceca01e..dd23bd24e431b24999db23242680f581d1b991c3 100644
(file)
--- 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