mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-25 11:22:10 +00:00
portable-specific string array constification
from Mike Frysinger
This commit is contained in:
parent
dfdcc2220c
commit
253de42753
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user