aboutsummaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-01-07 12:15:54 +0000
committerBodo Möller <bodo@openssl.org>2000-01-07 12:15:54 +0000
commit63da21c01ba1b4fa4bd5adb8b3b36567025b8e15 (patch)
tree3538d02fe0742b65179cce5356ac32f3cd587837 /apps/speed.c
parentb64e735b08c98ec98e597bc9c306b18692bcf49f (diff)
downloadopenssl-63da21c01ba1b4fa4bd5adb8b3b36567025b8e15.tar.gz
make no-des and no-rc2 work.
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c
index caf47e2277..b96733346b 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -616,6 +616,7 @@ int MAIN(int argc, char **argv)
memset(rsa_c,0,sizeof(rsa_c));
#endif
#ifndef SIGALRM
+#ifndef NO_DES
BIO_printf(bio_err,"First we calculate the approximate speed ...\n");
count=10;
do {
@@ -707,10 +708,14 @@ int MAIN(int argc, char **argv)
#define COND(d) (count < (d))
#define COUNT(d) (d)
#else
+/* not worth fixing */
+# error "You cannot disable DES on systems without SIGALRM."
+#endif /* NO_DES */
+#else
#define COND(c) (run)
#define COUNT(d) (count)
signal(SIGALRM,sig_done);
-#endif
+#endif /* SIGALRM */
#ifndef NO_MD2
if (doit[D_MD2])