#include "envelope.h"
int EVP_read_pw_string()
char *buf, *prompt;
int len, verify;
void EVP_set_pw_prompt(char *prompt);
char *EVP_get_pw_prompt();
EVP_set_pw_prompt() sets the default prompt to use to use in EVP_read_pw_string when the prompt parameter is NULL. If the prompt parameter is NULL, this 'default prompt' feature is turned off. Be warned, this is a static variable so weird things will happen if it is used under Win16 and care must be taken when using a multi-threaded version of the library.
EVP_get_pw_prompt() returns a pointer to the default prompt string (a static variable) and returns NULL if the default is not set.