summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-03-14 09:52:03 +0000
committerBodo Möller <bodo@openssl.org>2002-03-14 09:52:03 +0000
commit690ecff7953193cc8e66b588216805f3014df778 (patch)
treec21fb14c3d0b01ae50dd4c9d8a485b8824d78e35 /crypto/ecdsa
parent234c73767daf1dfadbdbff3f884d7cfffff2846c (diff)
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
Fix dsaparam usage output. Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r--crypto/ecdsa/ecdsatest.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c
index 02f9df923f..18b0ce18b3 100644
--- a/crypto/ecdsa/ecdsatest.c
+++ b/crypto/ecdsa/ecdsatest.c
@@ -56,13 +56,6 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <openssl/crypto.h>
-#include <openssl/bio.h>
-#include <openssl/evp.h>
-#include <openssl/x509.h>
-#include <openssl/ecdsa.h>
-#include <openssl/engine.h>
-#include <openssl/err.h>
#ifdef CLOCKS_PER_SEC
/* "To determine the time in seconds, the value returned
@@ -81,6 +74,14 @@
int main(int argc, char * argv[]) { puts("Elliptic curves are disabled."); return 0; }
#else
+#include <openssl/crypto.h>
+#include <openssl/bio.h>
+#include <openssl/evp.h>
+#include <openssl/x509.h>
+#include <openssl/ecdsa.h>
+#include <openssl/engine.h>
+#include <openssl/err.h>
+
static BIO *bio_err=NULL;
static const char rnd_seed[] = "string to make the random number generator think it has entropy";