diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-03-10 11:23:45 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-03-10 11:23:45 +0100 |
commit | 633d6532beb8cb8bd4f44732177499d4023fe624 (patch) | |
tree | 1005d5a483e9237e71dd5991958e2ea3094dcd0d /examples/samplesshd-kbdint.c | |
parent | 7e921b7afb86d6741d62d893ba141e5a2582b7af (diff) | |
download | libssh-633d6532beb8cb8bd4f44732177499d4023fe624.tar.gz libssh-633d6532beb8cb8bd4f44732177499d4023fe624.tar.xz libssh-633d6532beb8cb8bd4f44732177499d4023fe624.zip |
example: Use const in auth_password from samplesshd.
Diffstat (limited to 'examples/samplesshd-kbdint.c')
-rw-r--r-- | examples/samplesshd-kbdint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/samplesshd-kbdint.c b/examples/samplesshd-kbdint.c index 8e11430..b1eaad7 100644 --- a/examples/samplesshd-kbdint.c +++ b/examples/samplesshd-kbdint.c @@ -59,7 +59,7 @@ static void cleanup_pcap(){ #endif -static int auth_password(char *user, char *password){ +static int auth_password(const char *user, const char *password){ if(strcmp(user, SSHD_USER)) return 0; if(strcmp(password, SSHD_PASSWORD)) |