From 3a7174b249978efb30c051425bce7b06accba708 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 27 Apr 2014 16:19:04 +0000 Subject: We do not need a separate file for two compatibility wrapper functions. ok miod@ --- src/lib/libcrypto/ui/ui_util.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/lib/libcrypto/ui/ui_util.c') 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 @@ */ #include + +#include + #include "ui_locl.h" int @@ -91,3 +94,18 @@ UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) ok = 0; return (ok); } + +/* + * Old compatibility glue - see comment in ui_compat.h. + */ +int +_ossl_old_des_read_pw_string(char *buf, int length, const char *prompt, int verify) +{ + return UI_UTIL_read_pw_string(buf, length, prompt, verify); +} + +int +_ossl_old_des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) +{ + return UI_UTIL_read_pw(buf, buff, size, prompt, verify); +} -- cgit v1.2.3-55-g6feb