diff options
author | Ben Laurie <ben@links.org> | 2015-09-05 13:32:58 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2015-09-11 04:51:55 +0100 |
commit | df2ee0e27d2db02660c1d15fe6a3e38be9df0a60 (patch) | |
tree | 8a86e360b2f0c811186bf7009f20d13b0c65b820 /apps/s_cb.c | |
parent | 4c7103a5eee1dc472e256ac8818610c6e98a9a39 (diff) | |
download | openssl-df2ee0e27d2db02660c1d15fe6a3e38be9df0a60.tar.gz |
Enable -Wmissing-variable-declarations and
-Wincompatible-pointer-types-discards-qualifiers (the latter did not require
any code changes).
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r-- | apps/s_cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c index a1305d339f..0c1dfc57d7 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -131,8 +131,8 @@ int verify_depth = 0; int verify_quiet = 0; int verify_error = X509_V_OK; int verify_return_error = 0; -unsigned char cookie_secret[COOKIE_SECRET_LENGTH]; -int cookie_initialized = 0; +static unsigned char cookie_secret[COOKIE_SECRET_LENGTH]; +static int cookie_initialized = 0; static const char *lookup(int val, const STRINT_PAIR* list, const char* def) { |