X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fui%2Fui.h;h=735a2d988e84e9eaefc2f273d5544bb0d9ce9f19;hb=cc1489d2f25b97215b5cce035d88590f5d9bdfdb;hp=233e846a4573963d4018b667e323611579bec16f;hpb=219a3580b79ef7e4a6766354cf0f4a5d9ee15e20;p=oweals%2Fopenssl.git diff --git a/crypto/ui/ui.h b/crypto/ui/ui.h index 233e846a45..735a2d988e 100644 --- a/crypto/ui/ui.h +++ b/crypto/ui/ui.h @@ -345,6 +345,11 @@ int UI_get_result_maxsize(UI_STRING *uis); int UI_set_result(UI *ui, UI_STRING *uis, const char *result); +/* A couple of popular utility functions */ +int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify); +int UI_UTIL_read_pw(char *buf,char *buff,int size,const char *prompt,int verify); + + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run.