summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-05-31 17:56:17 +0000
committerNils Larsch <nils@openssl.org>2005-05-31 17:56:17 +0000
commite00b165e9b47f0ea8ffb1a69d56fab20c729455d (patch)
tree8b7af96b9fc1d5669b764753afaa302ff7c16106 /apps
parent5467ddf0e1c49fecbc8558c7a16694dc24434be6 (diff)
let "make all test" work with "no-aes"
PR: 1078
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 4bec815257..8f2aac5ccb 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -527,6 +527,7 @@ int MAIN(int argc, char **argv)
static const unsigned char key16[16]=
{0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,
0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12};
+#ifndef OPENSSL_NO_AES
static const unsigned char key24[24]=
{0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,
0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12,
@@ -536,6 +537,7 @@ int MAIN(int argc, char **argv)
0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12,
0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12,0x34,
0x78,0x9a,0xbc,0xde,0xf0,0x12,0x34,0x56};
+#endif
#ifndef OPENSSL_NO_AES
#define MAX_BLOCK_SIZE 128
#else