Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2003-09-03 18:11:33 +0400
committerBen Laurie <ben@openssl.org>2003-09-03 18:11:33 +0400
commitb2293a6cc63645db35bf7d34a2a080079a62ba50 (patch)
tree785cc8f3cd17155f130f850261b8c3d19e1c8bf9 /crypto
parent766332ac11fc66e97bd4c89dce294a8cd88f02d8 (diff)
DSA stuff and tests.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/dsa/dsa_gen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c
index dc9c249310..0cff5c066d 100644
--- a/crypto/dsa/dsa_gen.c
+++ b/crypto/dsa/dsa_gen.c
@@ -80,6 +80,7 @@
#include <openssl/rand.h>
#include <openssl/sha.h>
+#ifndef FIPS
DSA *DSA_generate_parameters(int bits,
unsigned char *seed_in, int seed_len,
int *counter_ret, unsigned long *h_ret,
@@ -293,4 +294,6 @@ err:
if (mont != NULL) BN_MONT_CTX_free(mont);
return(ok?ret:NULL);
}
-#endif
+#endif /* ndef FIPS */
+#endif /* ndef OPENSSL_NO_SHA */
+