summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authordjm <djm>2001-01-17 00:10:48 +0000
committerdjm <djm>2001-01-17 00:10:48 +0000
commit7c2c01e412512cb9e0325fcf537e040428e4d375 (patch)
tree7f6cbb244daf2afb45734d508aae679ae55b49eb /ssh.h
parentd753b45f0eea30b929d41e470f66a754cf988ebb (diff)
downloadopenssh-7c2c01e412512cb9e0325fcf537e040428e4d375.tar.gz
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh.h b/ssh.h
index 27575c29..f7330b91 100644
--- a/ssh.h
+++ b/ssh.h
@@ -418,7 +418,7 @@ int auth_rsa_challenge_dialog(RSA *pk);
* passphrase (allocated with xmalloc). Exits if EOF is encountered. If
* from_stdin is true, the passphrase will be read from stdin instead.
*/
-char *read_passphrase(char *prompt, int from_stdin);
+char *read_passphrase(const char *prompt, int from_stdin);
/*------------ Definitions for logging. -----------------------*/