1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-18 03:04:40 +00:00

rpki-client regress: align guard with portable

This commit is contained in:
tb
2026-03-31 06:25:39 +00:00
parent 07249334be
commit 9f74635ce2
3 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2026/03/27 19:55:35 tb Exp $
# $OpenBSD: Makefile,v 1.10 2026/03/31 06:25:39 tb Exp $
EOPENSSL = eopenssl35
.if ${EOPENSSL} != "eopenssl35"
CFLAGS += -DHAVE_X509_CRL_GET0_SIGALG
CFLAGS += -DHAVE_X509_CRL_GET0_TBS_SIGALG
.endif
LDADD += -Wl,-rpath,/usr/local/lib/${EOPENSSL} -L/usr/local/lib/${EOPENSSL}

View File

@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2026/03/27 19:55:35 tb Exp $
# $OpenBSD: Makefile,v 1.7 2026/03/31 06:25:39 tb Exp $
EOPENSSL = eopenssl35
.if ${EOPENSSL} != "eopenssl35"
CFLAGS += -DHAVE_X509_CRL_GET0_SIGALG
CFLAGS += -DHAVE_X509_CRL_GET0_TBS_SIGALG
.endif
regress: all

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.5 2026/03/27 19:55:35 tb Exp $ */
/* $OpenBSD: unistd.h,v 1.6 2026/03/31 06:25:39 tb Exp $ */
/*
* Public domain
* compatibility shim for OpenSSL 3
@@ -31,7 +31,7 @@ CMS_SignerInfo_get_version(CMS_SignerInfo *si, long *version)
return 1;
}
#if !HAVE_X509_CRL_GET0_SIGALG
#if !HAVE_X509_CRL_GET0_TBS_SIGALG
static inline const X509_ALGOR *
X509_CRL_get0_tbs_sigalg(const X509_CRL *crl)
{