portable-specific string array constification

from Mike Frysinger
This commit is contained in:
Damien Miller 2022-02-02 16:52:07 +11:00
parent dfdcc2220c
commit 253de42753
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ int main(void)
static struct shared_state *st;
struct test_state *ts;
const int keytypes[] = { KEY_RSA, KEY_DSA, KEY_ECDSA, KEY_ED25519, -1 };
const char *kextypes[] = {
static const char * const kextypes[] = {
"sntrup761x25519-sha512@openssh.com",
"curve25519-sha256@libssh.org",
"ecdh-sha2-nistp256",