From: Matt Caswell Date: Tue, 10 Jan 2017 09:38:30 +0000 (+0000) Subject: Fix a Travis failure X-Git-Tag: OpenSSL_1_1_1-pre1~2698 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b520cbb6ac7b617fe86be3bdab9c98eab24dfe4;p=oweals%2Fopenssl.git Fix a Travis failure Declare a variable as static to silence the warning Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2157) --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 6c79fe09e0..7878538444 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -753,7 +753,7 @@ typedef struct sigalg_lookup_st { int sig; } SIGALG_LOOKUP; -SIGALG_LOOKUP sigalg_lookup_tbl[] = { +static SIGALG_LOOKUP sigalg_lookup_tbl[] = { {TLSEXT_SIGALG_ecdsa_secp256r1_sha256, NID_sha256, EVP_PKEY_EC}, {TLSEXT_SIGALG_ecdsa_secp384r1_sha384, NID_sha384, EVP_PKEY_EC}, {TLSEXT_SIGALG_ecdsa_secp521r1_sha512, NID_sha512, EVP_PKEY_EC},