summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
committerDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
commit92e78f8c6424f0d466e1df673228870ef009105b (patch)
tree1809206c2385b1a49b459a80dba363a352effaa2 /ssh.h
parenta64b57a157068c793ac7be2ad276b208a7d10a90 (diff)
downloadopenssh-git-92e78f8c6424f0d466e1df673228870ef009105b.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. -----------------------*/