summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoguchi <>2018-01-07 08:43:26 +0000
committerinoguchi <>2018-01-07 08:43:26 +0000
commitbf59c7f1f430d5203f39c3206e7df506fe74264b (patch)
tree051eeb802feb2a17f97b996759e33764da624649
parent628289c5f2ded1394b54b1e9cb24164d8a514269 (diff)
downloadopenbsd-bf59c7f1f430d5203f39c3206e7df506fe74264b.tar.gz
openbsd-bf59c7f1f430d5203f39c3206e7df506fe74264b.tar.bz2
openbsd-bf59c7f1f430d5203f39c3206e7df506fe74264b.zip
Remove unused extern variable in openssl(1) s_time
This extern variable appears not to be used. And it is overridden by local variable in doConnection(). This causes MSVC warning C4459 "declaration of 'verify_error' hides global declaration". OK millert@
-rw-r--r--src/usr.bin/openssl/s_time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_time.c b/src/usr.bin/openssl/s_time.c
index 75009f8617..320380552b 100644
--- a/src/usr.bin/openssl/s_time.c
+++ b/src/usr.bin/openssl/s_time.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_time.c,v 1.19 2017/12/05 15:02:06 jca Exp $ */ 1/* $OpenBSD: s_time.c,v 1.20 2018/01/07 08:43:26 inoguchi Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -88,7 +88,6 @@
88 88
89#define SECONDS 30 89#define SECONDS 30
90extern int verify_depth; 90extern int verify_depth;
91extern int verify_error;
92 91
93static void s_time_usage(void); 92static void s_time_usage(void);
94static SSL *doConnection(SSL * scon); 93static SSL *doConnection(SSL * scon);