From 564ef7e293825830e632ad6f00b9ab2f554a904c Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 21 May 2023 12:32:28 -0600 Subject: speed.c: move errstr out of #ifndef --- patches/speed.c.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/patches/speed.c.patch b/patches/speed.c.patch index fadb3df..3baf9f2 100644 --- a/patches/speed.c.patch +++ b/patches/speed.c.patch @@ -1,5 +1,5 @@ --- apps/openssl/speed.c.orig Sun May 21 12:13:46 2023 -+++ apps/openssl/speed.c Sun May 21 12:15:49 2023 ++++ apps/openssl/speed.c Sun May 21 12:31:50 2023 @@ -161,7 +161,16 @@ static void pkey_print_message(const char *str, const char *str2, long num, int bits, int sec); @@ -17,17 +17,16 @@ #define ALGOR_NUM 32 #define SIZE_NUM 5 -@@ -431,8 +440,10 @@ speed_main(int argc, char **argv) +@@ -431,7 +440,9 @@ speed_main(int argc, char **argv) const EVP_CIPHER *evp_cipher = NULL; const EVP_MD *evp_md = NULL; int decrypt = 0; +#ifndef _WIN32 int multi = 0; - const char *errstr = NULL; +#endif + const char *errstr = NULL; if (pledge("stdio proc", NULL) == -1) { - perror("pledge"); @@ -506,6 +517,7 @@ speed_main(int argc, char **argv) decrypt = 1; j--; /* Otherwise, -decrypt gets confused with an -- cgit v1.2.3-55-g6feb