Ensure the key and iv labels are declared as static

Fixes a travis failure

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell 2016-11-08 23:22:11 +00:00
parent 134bfe56c4
commit 6925a94839

View 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