[#EVP_read_pw_string] = EVP_read_pw_string :mrdocs: Prompt on the terminal for a password into `buf.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_read_pw_string( char* buf, int length, char const* prompt, int verify); ---- == Return Value 0 on success, a negative value on mismatch/cancel, or a positive UI error code. == Parameters [cols="1,4"] |=== | Name| Description | *buf* | Destination buffer receiving the password (NUL‐terminated). | *length* | Capacity of `buf` in bytes including the NUL terminator. | *prompt* | Prompt string shown to the user, or NULL for the default. | *verify* | Nonzero to ask twice and require matching input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#