From 0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 18 Apr 2023 08:33:43 +0000 Subject: Move some includes out of OPENSSL_NO_DEPRECATED Some headers were included conditionally on OPENSSL_NO_DEPRECATED in hopes that eventually the mess of everything includes everything will magically resolve itself. Of course everyone would end up building openssl with OPENSSL_NO_DEPRECATED over time... Right. Surprisingly, the ecosystem has come to rely on these implicit inclusions, so about two dozen ports would fail to build because of this. Patching this would be easy but really not worth the effort. ok jsing --- src/lib/libcrypto/rsa/rsa.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/rsa/rsa.h') diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 3ee2afd627..bf0aac647e 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.60 2023/04/15 18:44:17 tb Exp $ */ +/* $OpenBSD: rsa.h,v 1.61 2023/04/18 08:33:43 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -68,9 +68,7 @@ #endif #include #include -#ifndef OPENSSL_NO_DEPRECATED #include -#endif #ifdef OPENSSL_NO_RSA #error RSA is disabled. -- cgit v1.2.3-55-g6feb