summaryrefslogtreecommitdiffstats
path: root/libssh/keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/keys.c')
-rw-r--r--libssh/keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/keys.c b/libssh/keys.c
index b1a9cc00..f7cf8e77 100644
--- a/libssh/keys.c
+++ b/libssh/keys.c
@@ -48,7 +48,7 @@ const char *ssh_type_to_char(int type) {
}
}
-int ssh_type_from_name(char *name) {
+int ssh_type_from_name(const char *name) {
if (strcmp(name, "rsa1") == 0) {
return TYPE_RSA1;
} else if (strcmp(name, "rsa") == 0) {