diff signkey.c @ 1273:139935236c72

const variables
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 09:20:50 +0100
parents c6346c63281b
children 0c47d97aa9d5
line wrap: on
line diff
--- a/signkey.c	Fri Jan 01 09:15:41 2016 +0100
+++ b/signkey.c	Fri Jan 01 09:20:50 2016 +0100
@@ -29,7 +29,7 @@
 #include "ssh.h"
 #include "ecdsa.h"
 
-static const char *signkey_names[DROPBEAR_SIGNKEY_NUM_NAMED] = {
+static const char * const signkey_names[DROPBEAR_SIGNKEY_NUM_NAMED] = {
 #ifdef DROPBEAR_RSA
 	"ssh-rsa",
 #endif