summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-02-02 13:36:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-02-02 13:36:05 +0000
commit8b354e776bd67de9a0585c9cd00645a8e10c6f89 (patch)
treeaa2046a78b902060f8e10b68705f8c3ff89fe39a /apps/speed.c
parent868f5e44ca56ea55d2072b354eecd65f99ada2fa (diff)
PR: 2161
Submitted by: Doug Goldstein <cardoe@gentoo.org>, Steve. Make no-dsa, no-ecdsa and no-rsa compile again.
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c
index cf5b8b7001..9d7154f09f 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -226,8 +226,12 @@ static const char *names[ALGOR_NUM]={
"aes-128 ige","aes-192 ige","aes-256 ige"};
static double results[ALGOR_NUM][SIZE_NUM];
static int lengths[SIZE_NUM]={16,64,256,1024,8*1024};
+#ifndef OPENSSL_NO_RSA
static double rsa_results[RSA_NUM][2];
+#endif
+#ifndef OPENSSL_NO_DSA
static double dsa_results[DSA_NUM][2];
+#endif
#ifndef OPENSSL_NO_ECDSA
static double ecdsa_results[EC_NUM][2];
#endif