summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_oaep.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-27 03:19:12 +0000
committerUlf Möller <ulf@openssl.org>1999-04-27 03:19:12 +0000
commit79df9d62721467927c81f1fa91568340e873ee9c (patch)
tree09b9c72ecf0604bc994b97e0501e561311a1559b /crypto/rsa/rsa_oaep.c
parent281c52c0548e4410e225464a30a82aac6d9ea70b (diff)
New Configure option no-<cipher> (rsa, idea, rc5, ...).
Diffstat (limited to 'crypto/rsa/rsa_oaep.c')
-rw-r--r--crypto/rsa/rsa_oaep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c
index 1b70011226..e3c7444ac4 100644
--- a/crypto/rsa/rsa_oaep.c
+++ b/crypto/rsa/rsa_oaep.c
@@ -4,6 +4,7 @@
/* EME_OAEP as defined in RFC 2437 (PKCS #1 v2.0) */
+#ifndef NO_SHA
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
@@ -156,3 +157,4 @@ int MGF1(unsigned char *mask, long len, unsigned char *seed, long seedlen)
}
return (0);
}
+#endif