diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-02-01 23:32:51 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-02-02 10:38:59 +1100 |
commit | 541667fe6dc26d7881e55f0bb3a4baa6f3171645 (patch) | |
tree | 1844fb6f21e883bafb536aee224ccf15b5ac3978 /kex.c | |
parent | 8cfa73f8a2bde4c98773f33f974c650bdb40dd3c (diff) |
upstream: mark const string array contents const too, i.e. static
const char *array => static const char * const array from Mike Frysinger
OpenBSD-Commit-ID: a664e31ea6a795d7c81153274a5f47b22bdc9bc1
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: kex.c,v 1.171 2022/01/06 21:55:23 djm Exp $ */ +/* $OpenBSD: kex.c,v 1.172 2022/02/01 23:32:51 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. * @@ -66,7 +66,7 @@ static int kex_choose_conf(struct ssh *); static int kex_input_newkeys(int, u_int32_t, struct ssh *); -static const char *proposal_names[PROPOSAL_MAX] = { +static const char * const proposal_names[PROPOSAL_MAX] = { "KEX algorithms", "host key algorithms", "ciphers ctos", |