diff options
| author | jsing <> | 2022-12-23 02:20:28 +0000 |
|---|---|---|
| committer | jsing <> | 2022-12-23 02:20:28 +0000 |
| commit | 4ed2a95a81d6732d2b435a025503ec360868ffbb (patch) | |
| tree | 32e8776697214cefd819c1ff66f77968cc0acabd /src/lib/libcrypto/ui/ui_compat.h | |
| parent | cbe70dd07d4650c041b37b035949887a36a7dd54 (diff) | |
| download | openbsd-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_compat.h')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_compat.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/libcrypto/ui/ui_compat.h b/src/lib/libcrypto/ui/ui_compat.h index 860e80c83c..6484bf6b5e 100644 --- a/src/lib/libcrypto/ui/ui_compat.h +++ b/src/lib/libcrypto/ui/ui_compat.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ui_compat.h,v 1.4 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: ui_compat.h,v 1.5 2022/12/23 02:20:28 jsing Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
| 3 | * project 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -62,22 +62,4 @@ | |||
| 62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
| 63 | #include <openssl/ui.h> | 63 | #include <openssl/ui.h> |
| 64 | 64 | ||
| 65 | #ifdef __cplusplus | ||
| 66 | extern "C" { | ||
| 67 | #endif | ||
| 68 | |||
| 69 | /* The following functions were previously part of the DES section, | ||
| 70 | and are provided here for backward compatibility reasons. */ | ||
| 71 | |||
| 72 | #define des_read_pw_string(b,l,p,v) \ | ||
| 73 | _ossl_old_des_read_pw_string((b),(l),(p),(v)) | ||
| 74 | #define des_read_pw(b,bf,s,p,v) \ | ||
| 75 | _ossl_old_des_read_pw((b),(bf),(s),(p),(v)) | ||
| 76 | |||
| 77 | int _ossl_old_des_read_pw_string(char *buf, int length, const char *prompt, int verify); | ||
| 78 | int _ossl_old_des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify); | ||
| 79 | |||
| 80 | #ifdef __cplusplus | ||
| 81 | } | ||
| 82 | #endif | ||
| 83 | #endif | 65 | #endif |
