summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-16 14:15:19 +1000
committerPauli <paul.dale@oracle.com>2020-01-19 10:38:49 +1000
commit08bff785fc2370f743ea5baabd44524412711ae8 (patch)
treea3d66994aae9369ba7e3232b23ae1d6542bc8f03 /apps/speed.c
parentda2d32f6db1c9fb33478af660daddcd1df369716 (diff)
apps: Fix deprecation conditional in speed.c
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10819)
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 4883fe0936..9c896ec6f0 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -1471,11 +1471,11 @@ int speed_main(int argc, char **argv)
#if !defined(OPENSSL_NO_CAST) && !defined(OPENSSL_NO_DEPRECATED_3_0)
CAST_KEY cast_ks;
#endif
+#ifndef OPENSSL_NO_DEPRECATED_3_0
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_DEPRECATED_3_0
static const unsigned char key24[24] = {
0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0,
0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0, 0x12,