diff options
| author | jsing <> | 2022-12-23 02:20:28 +0000 |
|---|---|---|
| committer | jsing <> | 2022-12-23 02:20:28 +0000 |
| commit | 5d13674f48708547a95df6681a9681952e978bdc (patch) | |
| tree | 32e8776697214cefd819c1ff66f77968cc0acabd /src/lib/libcrypto/ui/ui_util.c | |
| parent | 2d6e4bd5f08b69b78eff6e6fa85bedebe55a1315 (diff) | |
| download | openbsd-5d13674f48708547a95df6681a9681952e978bdc.tar.gz openbsd-5d13674f48708547a95df6681a9681952e978bdc.tar.bz2 openbsd-5d13674f48708547a95df6681a9681952e978bdc.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.c | 17 |
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 | } |
| 98 | LCRYPTO_ALIAS(UI_UTIL_read_pw) | 98 | LCRYPTO_ALIAS(UI_UTIL_read_pw) |
| 99 | |||
| 100 | /* | ||
| 101 | * Old compatibility glue - see comment in ui_compat.h. | ||
| 102 | */ | ||
| 103 | int | ||
| 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 | |||
| 109 | int | ||
| 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 | } | ||
