Move some includes out of OPENSSL_NO_DEPRECATED
authortb <tb@openbsd.org>
Tue, 18 Apr 2023 08:33:43 +0000 (08:33 +0000)
committertb <tb@openbsd.org>
Tue, 18 Apr 2023 08:33:43 +0000 (08:33 +0000)
commitc6a6590f55230fc4fe72212c9c23b423830fca10
tree683515c96fb73152faed6dea6017896d31b53abb
parent4bd672127bb44e45d41af6c37cbfe6558ba0719d
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
lib/libcrypto/asn1/asn1.h
lib/libcrypto/dh/dh.h
lib/libcrypto/dsa/dsa.h
lib/libcrypto/ecdh/ecdh.h
lib/libcrypto/ecdsa/ecdsa.h
lib/libcrypto/engine/engine.h
lib/libcrypto/rsa/rsa.h
lib/libcrypto/ui/ui.h
lib/libcrypto/x509/x509.h