comparison 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
comparison
equal deleted inserted replaced
1272:bdc28287f077 1273:139935236c72
27 #include "signkey.h" 27 #include "signkey.h"
28 #include "buffer.h" 28 #include "buffer.h"
29 #include "ssh.h" 29 #include "ssh.h"
30 #include "ecdsa.h" 30 #include "ecdsa.h"
31 31
32 static const char *signkey_names[DROPBEAR_SIGNKEY_NUM_NAMED] = { 32 static const char * const signkey_names[DROPBEAR_SIGNKEY_NUM_NAMED] = {
33 #ifdef DROPBEAR_RSA 33 #ifdef DROPBEAR_RSA
34 "ssh-rsa", 34 "ssh-rsa",
35 #endif 35 #endif
36 #ifdef DROPBEAR_DSS 36 #ifdef DROPBEAR_DSS
37 "ssh-dss", 37 "ssh-dss",