From 4ed2a95a81d6732d2b435a025503ec360868ffbb Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 23 Dec 2022 02:20:28 +0000 Subject: 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@ --- src/lib/libcrypto/ui/ui_compat.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/lib/libcrypto/ui/ui_compat.h') 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 @@ -/* $OpenBSD: ui_compat.h,v 1.4 2014/06/12 15:49:31 deraadt Exp $ */ +/* $OpenBSD: ui_compat.h,v 1.5 2022/12/23 02:20:28 jsing Exp $ */ /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL * project 2001. */ @@ -62,22 +62,4 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif - -/* The following functions were previously part of the DES section, - and are provided here for backward compatibility reasons. */ - -#define des_read_pw_string(b,l,p,v) \ - _ossl_old_des_read_pw_string((b),(l),(p),(v)) -#define des_read_pw(b,bf,s,p,v) \ - _ossl_old_des_read_pw((b),(bf),(s),(p),(v)) - -int _ossl_old_des_read_pw_string(char *buf, int length, const char *prompt, int verify); -int _ossl_old_des_read_pw(char *buf, char *buff, int size, const char *prompt, int verify); - -#ifdef __cplusplus -} -#endif #endif -- cgit v1.2.3-55-g6feb