summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-07-03 21:45:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-07-03 21:45:11 +0000
commitf92f4f5a99fe19a221c4ce4afa6ea84b330ebc2e (patch)
tree6dc7fb72ff51ea5eff1820996a37f8502a53e11d
parent30b6f0f78b690cfd42766637c7bd5b93459b011f (diff)
Repair algorithm name array after 1.6.
-rw-r--r--usr.bin/openssl/speed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/openssl/speed.c b/usr.bin/openssl/speed.c
index 236e0267bba..bf5f946375d 100644
--- a/usr.bin/openssl/speed.c
+++ b/usr.bin/openssl/speed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: speed.c,v 1.6 2015/06/20 01:07:25 doug Exp $ */
+/* $OpenBSD: speed.c,v 1.7 2015/07/03 21:45:10 miod Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -176,13 +176,13 @@ static int do_multi(int multi);
#define MAX_ECDH_SIZE 256
static const char *names[ALGOR_NUM] = {
- "md2", "md4", "md5", "hmac(md5)", "sha1", "rmd160", "rc4",
- "des cbc", "des ede3", "idea cbc", "seed cbc",
+ "md2", NULL /* was mdc2 */, "md4", "md5", "hmac(md5)", "sha1", "rmd160",
+ "rc4", "des cbc", "des ede3", "idea cbc", "seed cbc",
"rc2 cbc", "rc5-32/12 cbc", "blowfish cbc", "cast cbc",
"aes-128 cbc", "aes-192 cbc", "aes-256 cbc",
"camellia-128 cbc", "camellia-192 cbc", "camellia-256 cbc",
"evp", "sha256", "sha512", "whirlpool",
-"aes-128 ige", "aes-192 ige", "aes-256 ige", "ghash"};
+ "aes-128 ige", "aes-192 ige", "aes-256 ige", "ghash" };
static double results[ALGOR_NUM][SIZE_NUM];
static int lengths[SIZE_NUM] = {16, 64, 256, 1024, 8 * 1024};
static double rsa_results[RSA_NUM][2];