kerberos: Request the OpenSSL 1.1 API

This is needed to build with OpenSSL 3.0; a future update should switch
to using native OpenSSL 3 APIs.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Pierre Pronchery 2023-05-25 08:25:18 +02:00 committed by Ed Maste
parent b077aed33b
commit 5abd4d378e
7 changed files with 7 additions and 0 deletions

View File

@ -83,6 +83,7 @@ CFLAGS+=-I${KRB5DIR}/lib/asn1
CFLAGS+=-I${KRB5DIR}/lib/roken CFLAGS+=-I${KRB5DIR}/lib/roken
CFLAGS+=-I${SRCTOP}/contrib/com_err CFLAGS+=-I${SRCTOP}/contrib/com_err
CFLAGS+=-I. CFLAGS+=-I.
CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -44,6 +44,7 @@ CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi
CFLAGS+=-I${KRB5DIR}/lib/gssapi/ntlm CFLAGS+=-I${KRB5DIR}/lib/gssapi/ntlm
CFLAGS+=-I${KRB5DIR}/lib/krb5 CFLAGS+=-I${KRB5DIR}/lib/krb5
CFLAGS+=-I${KRB5DIR}/lib/ntlm CFLAGS+=-I${KRB5DIR}/lib/ntlm
CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -9,6 +9,7 @@ SRCS= ntlm.c ntlm_err.c ntlm_err.h
INCS= heimntlm.h heimntlm-protos.h ntlm_err.h INCS= heimntlm.h heimntlm-protos.h ntlm_err.h
CFLAGS+=-I${KRB5DIR}/lib/ntlm -I${KRB5DIR}/lib/roken \ CFLAGS+=-I${KRB5DIR}/lib/ntlm -I${KRB5DIR}/lib/roken \
-I${SRCTOP}/contrib/com_err -I${SRCTOP}/contrib/com_err
CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
VERSION_MAP= ${KRB5DIR}/lib/ntlm/version-script.map VERSION_MAP= ${KRB5DIR}/lib/ntlm/version-script.map
MAN= ntlm_buf.3 \ MAN= ntlm_buf.3 \

View File

@ -216,6 +216,7 @@ CFLAGS+=-I${KRB5DIR}/lib/wind
CFLAGS+=-I${KRB5DIR}/lib/roken CFLAGS+=-I${KRB5DIR}/lib/roken
CFLAGS+=-I${SRCTOP}/contrib/com_err CFLAGS+=-I${SRCTOP}/contrib/com_err
CFLAGS+=-I. CFLAGS+=-I.
CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
GEN_OCSP= \ GEN_OCSP= \
asn1_OCSPBasicOCSPResponse.x \ asn1_OCSPBasicOCSPResponse.x \

View File

@ -32,6 +32,7 @@ CFLAGS+= -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/lib/hdb \ -I${KRB5DIR}/lib/hdb \
-I${KRB5DIR}/kdc \ -I${KRB5DIR}/kdc \
-I${SRCTOP}/contrib/com_err -I${SRCTOP}/contrib/com_err
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -626,6 +626,7 @@ CFLAGS+= -I${KRB5DIR}/lib/krb5 \
-I${KRB5DIR}/base \ -I${KRB5DIR}/base \
-I${SRCTOP}/contrib/com_err \ -I${SRCTOP}/contrib/com_err \
-I. -I.
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -10,6 +10,7 @@ CFLAGS+= -I${KRB5DIR}/lib/hx509 \
-I${KRB5DIR}/lib/sl \ -I${KRB5DIR}/lib/sl \
-I${SRCTOP}/contrib/com_err \ -I${SRCTOP}/contrib/com_err \
-I. -I.
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
LIBADD= hx509 roken asn1 crypto sl vers edit LIBADD= hx509 roken asn1 crypto sl vers edit
SRCS= hxtool.c hxtool-commands.c hxtool-commands.h SRCS= hxtool.c hxtool-commands.c hxtool-commands.h