diff options
author | Matt Caswell <matt@openssl.org> | 2017-11-30 17:55:34 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-12-14 15:06:38 +0000 |
commit | 0ababfec93337a1fb8160a75df3ccc227faa72d4 (patch) | |
tree | 519d80b37fdaf300f4ccbb07f24c5b3c980f2922 /test | |
parent | 091ecfad6e3f157a875f0dec2d913c0c992bf1d9 (diff) |
Fix some clang compilation errors
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4701)
Diffstat (limited to 'test')
-rw-r--r-- | test/tls13ccstest.c | 11 |
1 files changed, 6 insertions, 5 deletions
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); |