From: Matt Caswell Date: Thu, 30 Nov 2017 17:55:34 +0000 (+0000) Subject: Fix some clang compilation errors X-Git-Tag: OpenSSL_1_1_1-pre1~275 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ababfec93337a1fb8160a75df3ccc227faa72d4;p=oweals%2Fopenssl.git Fix some clang compilation errors Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4701) --- diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c index ef4a75ba35..c51c2cec5f 100644 --- a/test/tls13ccstest.c +++ b/test/tls13ccstest.c @@ -16,12 +16,13 @@ static char *cert = NULL; static char *privkey = NULL; -BIO *s_to_c_fbio = NULL, *c_to_s_fbio = NULL; -int chseen = 0, shseen = 0, sccsseen = 0, ccsaftersh = 0, ccsbeforesh = 0; -int sappdataseen = 0, cappdataseen = 0, badccs = 0, badvers = 0, badsessid = 0; +static BIO *s_to_c_fbio = NULL, *c_to_s_fbio = NULL; +static int chseen = 0, shseen = 0, sccsseen = 0, ccsaftersh = 0; +static int ccsbeforesh = 0, sappdataseen = 0, cappdataseen = 0, badccs = 0; +static int badvers = 0, badsessid = 0; -unsigned char chsessid[SSL_MAX_SSL_SESSION_ID_LENGTH]; -size_t chsessidlen = 0; +static unsigned char chsessid[SSL_MAX_SSL_SESSION_ID_LENGTH]; +static size_t chsessidlen = 0; static int watchccs_new(BIO *bi); static int watchccs_free(BIO *a);