summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/ui/ui_lib.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-01-29 02:25:30 +0000
committernectar <nectar@FreeBSD.org>2003-01-29 02:25:30 +0000
commitb6c07e9a21ba42613fc3906d3efb586dd5c9a846 (patch)
tree6c0c941177c3581e090e17f5ba10ecb4cd203096 /crypto/openssl/crypto/ui/ui_lib.c
parentaad1d64cb5a8d9b503d9199642363dc1e92d2f9b (diff)
downloadFreeBSD-src-b6c07e9a21ba42613fc3906d3efb586dd5c9a846.zip
FreeBSD-src-b6c07e9a21ba42613fc3906d3efb586dd5c9a846.tar.gz
= Fix a bug in UI_UTIL_read_pw's error handling that caused
des_read_pw_string to break (and thus rather mysteriously breaking utilities such as kinit). = Enable the BSD /dev/crypto interface. (These changes are being imported on the vendor branch, as they have already been accepted and committed to the OpenSSL CVS repository.)
Diffstat (limited to 'crypto/openssl/crypto/ui/ui_lib.c')
-rw-r--r--crypto/openssl/crypto/ui/ui_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/ui/ui_lib.c b/crypto/openssl/crypto/ui/ui_lib.c
index 1dad878..13e5f20 100644
--- a/crypto/openssl/crypto/ui/ui_lib.c
+++ b/crypto/openssl/crypto/ui/ui_lib.c
@@ -237,7 +237,7 @@ static int general_allocate_boolean(UI *ui,
return ret;
}
-/* Returns the index to the place in the stack or 0 for error. Uses a
+/* Returns the index to the place in the stack or -1 for error. Uses a
direct reference to the prompt. */
int UI_add_input_string(UI *ui, const char *prompt, int flags,
char *result_buf, int minsize, int maxsize)
OpenPOWER on IntegriCloud