Make sure memset() is defined by including string.h
[oweals/openssl.git] / crypto / ui / ui.h
index 233e846a4573963d4018b667e323611579bec16f..735a2d988e84e9eaefc2f273d5544bb0d9ce9f19 100644 (file)
@@ -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.