summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/readpass.c
diff options
context:
space:
mode:
authormouring <mouring@openbsd.org>2001-05-06 17:52:07 +0000
committermouring <mouring@openbsd.org>2001-05-06 17:52:07 +0000
commit30a7db8ba547ed636568b05f5dc994ba859a267d (patch)
tree0e9b8a0b68fb87a4937742df4ae54257d2e6493c /usr.bin/ssh/readpass.c
parentincrease version since we've removed -b; per fgsch@'s suggestion (diff)
downloadwireguard-openbsd-30a7db8ba547ed636568b05f5dc994ba859a267d.tar.xz
wireguard-openbsd-30a7db8ba547ed636568b05f5dc994ba859a267d.zip
Use const for 'prompt'. Brought over from portable tree.
Diffstat (limited to 'usr.bin/ssh/readpass.c')
-rw-r--r--usr.bin/ssh/readpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readpass.c b/usr.bin/ssh/readpass.c
index 71085973b95..d059272e74b 100644
--- a/usr.bin/ssh/readpass.c
+++ b/usr.bin/ssh/readpass.c
@@ -32,7 +32,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: readpass.c,v 1.16 2001/05/02 01:25:39 mouring Exp $");
+RCSID("$OpenBSD: readpass.c,v 1.17 2001/05/06 17:52:07 mouring Exp $");
#include "xmalloc.h"
#include "cli.h"
@@ -96,7 +96,7 @@ ssh_askpass(char *askpass, const char *msg)
* compatibility with existing code.
*/
char *
-read_passphrase(char *prompt, int from_stdin)
+read_passphrase(const char *prompt, int from_stdin)
{
char *askpass = NULL;
int use_askpass = 0, ttyfd;