aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-02-02 13:35:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-02-02 13:35:27 +0000
commit17ebc10ffa3515bb4d67b28a8164d0f48b686f10 (patch)
tree12a05b78f48c4413192669ef6e4dadd9aa964ddf /apps
parent434745dc193a7bbbc31f555ae36be95d48140d6e (diff)
downloadopenssl-17ebc10ffa3515bb4d67b28a8164d0f48b686f10.zip
openssl-17ebc10ffa3515bb4d67b28a8164d0f48b686f10.tar.gz
openssl-17ebc10ffa3515bb4d67b28a8164d0f48b686f10.tar.bz2
PR: 2161
Submitted by: Doug Goldstein <cardoe@gentoo.org>, Steve. Make no-dsa, no-ecdsa and no-rsa compile again.
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 67a8167..e4389f8 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