X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshpubk.c;h=0323335ee0bfb0e98ae18de25538627bb8313e7b;hb=1de7240eb88fa24a8532ded116b4ec72dd213008;hp=30f9e4b331c78b2121c131d59134dbc595c7a282;hpb=870ad6ab0780c68e0e71d1a14d394aa543a8b89e;p=PuTTY.git diff --git a/sshpubk.c b/sshpubk.c index 30f9e4b3..0323335e 100644 --- a/sshpubk.c +++ b/sshpubk.c @@ -1308,7 +1308,7 @@ int ssh2_save_userkey(const Filename *filename, struct ssh2_userkey *key, int passlen; int cipherblk; int i; - char *cipherstr; + const char *cipherstr; unsigned char priv_mac[20]; /* @@ -1688,7 +1688,7 @@ int key_type(const Filename *filename) * Convert the type word to a string, for `wrong type' error * messages. */ -char *key_type_to_str(int type) +const char *key_type_to_str(int type) { switch (type) { case SSH_KEYTYPE_UNOPENABLE: return "unable to open file"; break;