summaryrefslogtreecommitdiff
path: root/readpass.c
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 /readpass.c
parenta64b57a157068c793ac7be2ad276b208a7d10a90 (diff)
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
Diffstat (limited to 'readpass.c')
-rw-r--r--readpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readpass.c b/readpass.c
index f3a7dcbed..64281edd6 100644
--- a/readpass.c
+++ b/readpass.c
@@ -49,7 +49,7 @@ RCSID("$OpenBSD: readpass.c,v 1.12 2000/10/11 20:14:39 markus Exp $");
49 * compatibility with existing code. 49 * compatibility with existing code.
50 */ 50 */
51char * 51char *
52read_passphrase(char *prompt, int from_stdin) 52read_passphrase(const char *prompt, int from_stdin)
53{ 53{
54 return cli_read_passphrase(prompt, from_stdin, 0); 54 return cli_read_passphrase(prompt, from_stdin, 0);
55} 55}