diff options
Diffstat (limited to 'lib/libcrypto/ui/ui_compat.h')
-rw-r--r-- | lib/libcrypto/ui/ui_compat.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/lib/libcrypto/ui/ui_compat.h b/lib/libcrypto/ui/ui_compat.h index 860e80c83c5..6484bf6b5e5 100644 --- a/lib/libcrypto/ui/ui_compat.h +++ b/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 <openssl/opensslconf.h> #include <openssl/ui.h> -#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 |