Add some missing 'static' on a few objects
diff --git a/library/pkcs5.c b/library/pkcs5.c
index 182d632..289ed45 100644
--- a/library/pkcs5.c
+++ b/library/pkcs5.c
@@ -300,10 +300,10 @@
#define MAX_TESTS 6
-size_t plen[MAX_TESTS] =
+static size_t plen[MAX_TESTS] =
{ 8, 8, 8, 8, 24, 9 };
-unsigned char password[MAX_TESTS][32] =
+static unsigned char password[MAX_TESTS][32] =
{
"password",
"password",
@@ -313,10 +313,10 @@
"pass\0word",
};
-size_t slen[MAX_TESTS] =
+static size_t slen[MAX_TESTS] =
{ 4, 4, 4, 4, 36, 5 };
-unsigned char salt[MAX_TESTS][40] =
+static unsigned char salt[MAX_TESTS][40] =
{
"salt",
"salt",
@@ -326,14 +326,13 @@
"sa\0lt",
};
-uint32_t it_cnt[MAX_TESTS] =
+static uint32_t it_cnt[MAX_TESTS] =
{ 1, 2, 4096, 16777216, 4096, 4096 };
-uint32_t key_len[MAX_TESTS] =
+static uint32_t key_len[MAX_TESTS] =
{ 20, 20, 20, 20, 25, 16 };
-
-unsigned char result_key[MAX_TESTS][32] =
+static unsigned char result_key[MAX_TESTS][32] =
{
{ 0x0c, 0x60, 0xc8, 0x0f, 0x96, 0x1f, 0x0e, 0x71,
0xf3, 0xa9, 0xb5, 0x24, 0xaf, 0x60, 0x12, 0x06,