summaryrefslogtreecommitdiff
path: root/lib/libc/gen/readpassphrase.3
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-06-28 01:43:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-06-28 01:43:59 +0000
commite2d200e3774a0c1ce22d5e27de2fe1d4156cbe9b (patch)
treee1df66246bd9acf841c4d55e1877c348b4080586 /lib/libc/gen/readpassphrase.3
parent1427daa5a1d54988b664f69c32ce70637c7aa534 (diff)
Add RPP_STDIN flag which acts as the converse of RPP_REQUIRE_TTY.
Based on a patch from Brett Eldridge.
Diffstat (limited to 'lib/libc/gen/readpassphrase.3')
-rw-r--r--lib/libc/gen/readpassphrase.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3
index e5458c03cdd..1eb8f6ca34f 100644
--- a/lib/libc/gen/readpassphrase.3
+++ b/lib/libc/gen/readpassphrase.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readpassphrase.3,v 1.8 2002/05/09 16:47:07 millert Exp $
+.\" $OpenBSD: readpassphrase.3,v 1.9 2002/06/28 01:43:58 millert Exp $
.\"
.\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -67,6 +67,7 @@ RPP_REQUIRE_TTY fail if there is no tty
RPP_FORCELOWER force input to lower case
RPP_FORCEUPPER force input to upper case
RPP_SEVENBIT strip the high bit from input
+RPP_STDIN force read of passphrase from stdin
.Ed
.Pp
The calling process should zero the passphrase as soon as possible to