diff options
author | inoguchi <> | 2018-01-07 08:43:26 +0000 |
---|---|---|
committer | inoguchi <> | 2018-01-07 08:43:26 +0000 |
commit | bf59c7f1f430d5203f39c3206e7df506fe74264b (patch) | |
tree | 051eeb802feb2a17f97b996759e33764da624649 | |
parent | 628289c5f2ded1394b54b1e9cb24164d8a514269 (diff) | |
download | openbsd-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.c | 3 |
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 |
90 | extern int verify_depth; | 90 | extern int verify_depth; |
91 | extern int verify_error; | ||
92 | 91 | ||
93 | static void s_time_usage(void); | 92 | static void s_time_usage(void); |
94 | static SSL *doConnection(SSL * scon); | 93 | static SSL *doConnection(SSL * scon); |