summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_util.c
diff options
context:
space:
mode:
authorbeck <>2022-11-12 13:16:10 +0000
committerbeck <>2022-11-12 13:16:10 +0000
commit70ab1d8e94bd3980047d58c783b898276a0faa90 (patch)
treea76738290dfec55de731944109fadcfacf100efc /src/lib/libcrypto/ui/ui_util.c
parent3b3bd87c8ba6eed119f57fda3b29fee076d34d15 (diff)
downloadopenbsd-70ab1d8e94bd3980047d58c783b898276a0faa90.tar.gz
openbsd-70ab1d8e94bd3980047d58c783b898276a0faa90.tar.bz2
openbsd-70ab1d8e94bd3980047d58c783b898276a0faa90.zip
Hide symbols in libcrypto/ui
ok jsing@
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.