summaryrefslogtreecommitdiff
path: root/crypto/dsa
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-27 04:18:53 +0000
committerUlf Möller <ulf@openssl.org>1999-04-27 04:18:53 +0000
commitd02f751ce1d13183a0c0e5528ec89f76587ed989 (patch)
tree3ee5bb5030a36e5d5358d8a067b89232b0c6c15f /crypto/dsa
parent79df9d62721467927c81f1fa91568340e873ee9c (diff)
downloadopenssl-new-d02f751ce1d13183a0c0e5528ec89f76587ed989.tar.gz
Message digest stuff.
Diffstat (limited to 'crypto/dsa')
-rw-r--r--crypto/dsa/dsa_gen.c3
-rw-r--r--crypto/dsa/dsa_key.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c
index 9ea53d4420..c2661c1d0c 100644
--- a/crypto/dsa/dsa_gen.c
+++ b/crypto/dsa/dsa_gen.c
@@ -64,6 +64,7 @@
#define HASH SHA1
#endif
+#ifndef NO_SHA
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
@@ -328,4 +329,4 @@ err:
return(ok);
}
-
+#endif
diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c
index e974861c5c..ab7f38fc7c 100644
--- a/crypto/dsa/dsa_key.c
+++ b/crypto/dsa/dsa_key.c
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
+#ifndef NO_SHA
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
@@ -108,4 +109,4 @@ err:
if (ctx != NULL) BN_CTX_free(ctx);
return(ok);
}
-
+#endif