[openssh-commits] [openssh] 03/03: portable-specific string array constification
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Feb 2 16:53:03 AEDT 2022
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 253de42753de85dde266e061b6fec12ca6589f7d
Author: Damien Miller <djm at mindrot.org>
Date: Wed Feb 2 16:52:07 2022 +1100
portable-specific string array constification
from Mike Frysinger
---
regress/misc/fuzz-harness/kex_fuzz.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regress/misc/fuzz-harness/kex_fuzz.cc b/regress/misc/fuzz-harness/kex_fuzz.cc
index fc145d48..d38ca859 100644
--- a/regress/misc/fuzz-harness/kex_fuzz.cc
+++ b/regress/misc/fuzz-harness/kex_fuzz.cc
@@ -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 at openssh.com",
"curve25519-sha256 at libssh.org",
"ecdh-sha2-nistp256",
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list