freebsd-src/kerberos5
Cy Schubert 476d63e091 kerberos: Fix numerous segfaults when using weak crypto
Weak crypto is provided by the openssl legacy provider which is
not load by default. Load the legacy providers as needed.

When the legacy provider is loaded into the default context the default
provider will no longer be automatically loaded. Without the default
provider the various kerberos applicaions and functions will abort().

This is the second attempt at this patch. Instead of linking
secure/lib/libcrypto at build time we now link it at runtime, avoiding
buildworld failures under Linux and MacOS. This is because
TARGET_ENDIANNESS is undefined at pre-build time.

PR:		272835
MFC after:	3 days
X-MFC:		only to stable/14
Tested by:	netchild
		Joerg Pulz <Joerg.Pulz@frm2.tum.de> (previous version)
2024-01-17 23:46:57 -08:00
..
include kerberos: Fix numerous segfaults when using weak crypto 2024-01-17 23:46:57 -08:00
lib kerberos: Fix numerous segfaults when using weak crypto 2024-01-17 23:46:57 -08:00
libexec Revert "kerberos: Fix numerous segfaults when using weak crypto" 2024-01-11 23:42:33 -08:00
tools Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
usr.bin Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
usr.sbin Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
README

This subtree is world-exportable, as it does not contain any
cryptographic code.

At the time of writing, it did not even contain source code, only
Makefiles and headers.

Please maintain this "exportable" status quo.

Thanks!

MarkM
markm@freebsd.org
20th Sept 1997