summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ui/ui_util.c')
-rw-r--r--src/lib/libcrypto/ui/ui_util.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ui/ui_util.c b/src/lib/libcrypto/ui/ui_util.c
index 81c5a079a6..5654ce3825 100644
--- a/src/lib/libcrypto/ui/ui_util.c
+++ b/src/lib/libcrypto/ui/ui_util.c
@@ -54,6 +54,9 @@
54 */ 54 */
55 55
56#include <string.h> 56#include <string.h>
57
58#include <openssl/ui_compat.h>
59
57#include "ui_locl.h" 60#include "ui_locl.h"
58 61
59int 62int
@@ -91,3 +94,18 @@ UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
91 ok = 0; 94 ok = 0;
92 return (ok); 95 return (ok);
93} 96}
97
98/*
99 * Old compatibility glue - see comment in ui_compat.h.
100 */
101int
102_ossl_old_des_read_pw_string(char *buf, int length, const char *prompt, int verify)
103{
104 return UI_UTIL_read_pw_string(buf, length, prompt, verify);
105}
106
107int
108_ossl_old_des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
109{
110 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
111}