diff --git a/src/k_profiles.c b/src/k_profiles.c index 04fbf0b46..e536f95e3 100644 --- a/src/k_profiles.c +++ b/src/k_profiles.c @@ -622,9 +622,10 @@ char *GetPrettyRRID(const unsigned char *bin, boolean brief) } -char allZero[PUBKEYLENGTH]; +static char allZero[PUBKEYLENGTH]; boolean PR_IsKeyGuest(uint8_t *key) { - memset(allZero, 0, PUBKEYLENGTH); + //memset(allZero, 0, PUBKEYLENGTH); -- not required, allZero is 0's return (memcmp(key, allZero, PUBKEYLENGTH) == 0); +}