|
NAMEdes_read_pw , des_read_pw_string ,
EVP_read_pw_string ,
EVP_read_pw_string_min —
compatibility user interface functions
SYNOPSIS#include <openssl/ui_compat.h>
int
int
int
int
DESCRIPTIONThese functions are deprecated. Use UI_UTIL_read_pw(3) instead.The DES library contained a few routines to prompt for passwords. These aren't necessarily dependent on DES, and have therefore become part of the UI compatibility library.
RETURN VALUESThese functions return 0 on success and a negative value on failure.They return -1 if length is less than or equal to zero or on memory allocation failure. They return -1 or -2 if the internal call to UI_process(3) fails. In addition, EVP_read_pw_string_min returns -1 if min_length is negative, if length is less than or equal to min_length, or if the user entered a password shorter than min_length. SEE ALSOUI_new(3), UI_UTIL_read_pw(3)HISTORYdes_read_pw_string () appeared in SSLeay 0.4 or earlier.
EVP_read_pw_string () first appeared in SSLeay 0.5.1.
des_read_pw () first appeared in SSLeay 0.8.0. These
functions have been available since OpenBSD 2.4.
AUTHORSRichard Levitte <richard@levitte.org> for the OpenSSL project.
Visit the GSP FreeBSD Man Page Interface. |