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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ui/ui_util.c b/src/lib/libcrypto/ui/ui_util.c
index d1040c9826..808b294d76 100644
--- a/src/lib/libcrypto/ui/ui_util.c
+++ b/src/lib/libcrypto/ui/ui_util.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ui_util.c,v 1.10 2015/09/10 15:56:26 jsing Exp $ */ 1/* $OpenBSD: ui_util.c,v 1.11 2022/11/12 13:16:10 beck Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -70,6 +70,7 @@ UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify)
70 explicit_bzero(buff, BUFSIZ); 70 explicit_bzero(buff, BUFSIZ);
71 return (ret); 71 return (ret);
72} 72}
73LCRYPTO_ALIAS(UI_UTIL_read_pw_string)
73 74
74int 75int
75UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) 76UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
@@ -94,6 +95,7 @@ UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
94 ok = 0; 95 ok = 0;
95 return (ok); 96 return (ok);
96} 97}
98LCRYPTO_ALIAS(UI_UTIL_read_pw)
97 99
98/* 100/*
99 * Old compatibility glue - see comment in ui_compat.h. 101 * Old compatibility glue - see comment in ui_compat.h.