summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-09-15 14:28:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-09-15 14:28:46 +0000
commitb889a6046be029cb9874a78ab262471b184b5467 (patch)
treef66283d6e4911254f6b84e8d1d1641ed692f3f04
parent00b0f2cb3e8235a6ff8c4d1c0476c687eb61afe6 (diff)
Make HMAC kat symbols static.
-rw-r--r--fips/hmac/fips_hmac_selftest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fips/hmac/fips_hmac_selftest.c b/fips/hmac/fips_hmac_selftest.c
index e82bacf20f..5b513c991a 100644
--- a/fips/hmac/fips_hmac_selftest.c
+++ b/fips/hmac/fips_hmac_selftest.c
@@ -64,13 +64,13 @@ typedef struct {
/* from http://csrc.nist.gov/publications/fips/fips198/fips-198a.pdf */
/* "0123456789:;<=>?@ABC" */
__fips_constseg
-const unsigned char hmac_kat_key[] = {
+static const unsigned char hmac_kat_key[] = {
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a,
0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43
};
/* "Sample #2" */
__fips_constseg
-const unsigned char hmac_kat_data[] = {
+static const unsigned char hmac_kat_data[] = {
0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x23, 0x32
};