Ensure the key and iv labels are declared as static
authorMatt Caswell <matt@openssl.org>
Tue, 8 Nov 2016 23:22:11 +0000 (23:22 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Nov 2016 14:08:15 +0000 (14:08 +0000)
Fixes a travis failure

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/tls13_enc.c

index 0ac54bbfb5be1fa7e63557074afebf2591d8ab65..39a61f4461668495733d0025e42b3332f9efa52c 100644 (file)
@@ -17,8 +17,8 @@
 /* Always filled with zeros */
 static const unsigned char default_zeros[EVP_MAX_MD_SIZE];
 
-const unsigned char keylabel[] = "key";
-const unsigned char ivlabel[] = "iv";
+static const unsigned char keylabel[] = "key";
+static const unsigned char ivlabel[] = "iv";
 
 /*
  * Given a |secret|; a |label| of length |labellen|; and a |hash| of the