summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/des_read_pw.3
diff options
context:
space:
mode:
authorjmc <>2016-12-08 21:48:50 +0000
committerjmc <>2016-12-08 21:48:50 +0000
commit5418cbcc35c07098b601750bd5e31ff1f58ff2ca (patch)
tree51adef57c1053c866821a29d02e0261f7f40dce0 /src/lib/libcrypto/man/des_read_pw.3
parentd005c040eb015cb7a531a0fc79d93c52f0a6d3fa (diff)
downloadopenbsd-5418cbcc35c07098b601750bd5e31ff1f58ff2ca.tar.gz
openbsd-5418cbcc35c07098b601750bd5e31ff1f58ff2ca.tar.bz2
openbsd-5418cbcc35c07098b601750bd5e31ff1f58ff2ca.zip
minor cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/des_read_pw.3')
-rw-r--r--src/lib/libcrypto/man/des_read_pw.318
1 files changed, 8 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/des_read_pw.3 b/src/lib/libcrypto/man/des_read_pw.3
index 87410b3c52..1f2fae984e 100644
--- a/src/lib/libcrypto/man/des_read_pw.3
+++ b/src/lib/libcrypto/man/des_read_pw.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: des_read_pw.3,v 1.3 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: des_read_pw.3,v 1.4 2016/12/08 21:48:50 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: December 8 2016 $
4.Dt DES_READ_PW 3 4.Dt DES_READ_PW 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -8,7 +8,7 @@
8.Nm des_read_2passwords , 8.Nm des_read_2passwords ,
9.Nm des_read_pw_string , 9.Nm des_read_pw_string ,
10.Nm des_read_pw 10.Nm des_read_pw
11.Nd Compatibility user interface functions 11.Nd compatibility user interface functions
12.Sh SYNOPSIS 12.Sh SYNOPSIS
13.In openssl/des_old.h 13.In openssl/des_old.h
14.Ft int 14.Ft int
@@ -47,7 +47,7 @@ part of the UI compatibility library.
47.Fn des_read_pw 47.Fn des_read_pw
48writes the string specified by 48writes the string specified by
49.Fa prompt 49.Fa prompt
50to standard output turns echo off and reads an input string from the 50to standard output, turns echo off, and reads an input string from the
51terminal. 51terminal.
52The string is returned in 52The string is returned in
53.Fa buf , 53.Fa buf ,
@@ -72,9 +72,12 @@ to do the work.
72.Fn des_read_pw_string 72.Fn des_read_pw_string
73is a variant of 73is a variant of
74.Fn des_read_pw 74.Fn des_read_pw
75that provides a buffer for you if 75that provides a buffer if
76.Fa verify 76.Fa verify
77is set. 77is set.
78It is available in the MIT Kerberos library as well,
79and is also available under the name
80.Xr EVP_read_pw_string 3 .
78.Pp 81.Pp
79.Fn des_read_password 82.Fn des_read_password
80calls 83calls
@@ -87,11 +90,6 @@ operates in the same way as
87except that it generates two keys by using the 90except that it generates two keys by using the
88.Xr DES_string_to_2key 3 91.Xr DES_string_to_2key 3
89function. 92function.
90.Sh NOTES
91.Fn des_read_pw_string
92is available in the MIT Kerberos library as well, and is also available
93under the name
94.Xr EVP_read_pw_string 3 .
95.Sh SEE ALSO 93.Sh SEE ALSO
96.Xr UI_new 3 94.Xr UI_new 3
97.Sh AUTHORS 95.Sh AUTHORS