summaryrefslogtreecommitdiff
path: root/readpass.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-25 05:20:31 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-25 05:20:31 +0000
commit949974bbdb057202a429036a18fe36de5a7b6eac (patch)
treed5777e395808237422b323998888d1595d62c28b /readpass.h
parentf0c50293dddf8b36e9511fdf1c2f3f443800e51c (diff)
- markus@cvs.openbsd.org 2001/06/24 05:35:33
[readpass.c readpass.h ssh-add.c sshconnect2.c ssh-keygen.c] switch to readpassphrase(3) 2.7/8-stable needs readpassphrase.[ch] from libc
Diffstat (limited to 'readpass.h')
-rw-r--r--readpass.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/readpass.h b/readpass.h
index 55ed294da..37f85002b 100644
--- a/readpass.h
+++ b/readpass.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: readpass.h,v 1.3 2001/05/06 17:52:08 mouring Exp $ */ 1/* $OpenBSD: readpass.h,v 1.4 2001/06/24 05:35:33 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -12,9 +12,6 @@
12 * called by a name other than "ssh" or "Secure Shell". 12 * called by a name other than "ssh" or "Secure Shell".
13 */ 13 */
14 14
15/* 15#define RP_ECHO 0x0001
16 * Reads a passphrase from /dev/tty with echo turned off. Returns the 16#define RP_ALLOW_STDIN 0x0002
17 * passphrase (allocated with xmalloc). Exits if EOF is encountered. If 17char *read_passphrase(const char *prompt, int flags);
18 * from_stdin is true, the passphrase will be read from stdin instead.
19 */
20char *read_passphrase(const char *prompt, int from_stdin);