v3nametest: Make the gennames structure static

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13635)
This commit is contained in:
Tomas Mraz 2020-12-08 17:45:32 +01:00
parent 74c8dd1c51
commit 7eea331eab

View File

@ -359,7 +359,7 @@ static int call_run_cert(int i)
return failed == 0;
}
struct gennamedata {
static struct gennamedata {
const unsigned char der[22];
size_t derlen;
} gennames[] = {