summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_util.c
diff options
context:
space:
mode:
authorjsing <>2022-12-23 02:20:28 +0000
committerjsing <>2022-12-23 02:20:28 +0000
commit4ed2a95a81d6732d2b435a025503ec360868ffbb (patch)
tree32e8776697214cefd819c1ff66f77968cc0acabd /src/lib/libcrypto/ui/ui_util.c
parentcbe70dd07d4650c041b37b035949887a36a7dd54 (diff)
downloadopenbsd-4ed2a95a81d6732d2b435a025503ec360868ffbb.tar.gz
openbsd-4ed2a95a81d6732d2b435a025503ec360868ffbb.tar.bz2
openbsd-4ed2a95a81d6732d2b435a025503ec360868ffbb.zip
Remove compatibility "glue" for des_read_pw{_string}()
Nothing can be actually using these as the symbols are not exported from libcrypto... hopefully ui_compat.h can also go away entirely. ok tb@
Diffstat (limited to 'src/lib/libcrypto/ui/ui_util.c')
-rw-r--r--src/lib/libcrypto/ui/ui_util.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/lib/libcrypto/ui/ui_util.c b/src/lib/libcrypto/ui/ui_util.c
index 347e4118bc..5e7048531c 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.12 2022/11/26 16:08:54 tb Exp $ */ 1/* $OpenBSD: ui_util.c,v 1.13 2022/12/23 02:20:28 jsing 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 *
@@ -96,18 +96,3 @@ UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
96 return (ok); 96 return (ok);
97} 97}
98LCRYPTO_ALIAS(UI_UTIL_read_pw) 98LCRYPTO_ALIAS(UI_UTIL_read_pw)
99
100/*
101 * Old compatibility glue - see comment in ui_compat.h.
102 */
103int
104_ossl_old_des_read_pw_string(char *buf, int length, const char *prompt, int verify)
105{
106 return UI_UTIL_read_pw_string(buf, length, prompt, verify);
107}
108
109int
110_ossl_old_des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify)
111{
112 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
113}