summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-05-23 14:10:19 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-05-23 14:10:19 +0000
commit410a81fdfef7be310e3fc8665dc07043720126af (patch)
treeefcb6154ad9830018ce5cfcadb847f73569442a7 /usr.sbin/rpki-client/mft.c
parent903cfc26ddc1888ef7c4234caf68f82df0d88e60 (diff)
Improve #ifdefs for STACK_OF() helpers.
Discussed with claudio
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index bcf3217abdc..fb26b992274 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.67 2022/05/19 07:33:02 tb Exp $ */
+/* $OpenBSD: mft.c,v 1.68 2022/05/23 14:10:18 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -57,7 +57,7 @@ typedef struct {
DECLARE_STACK_OF(FileAndHash);
-#if defined(LIBRESSL_VERSION_NUMBER)
+#ifndef DEFINE_STACK_OF
#define sk_FileAndHash_num(sk) SKM_sk_num(FileAndHash, (sk))
#define sk_FileAndHash_value(sk, i) SKM_sk_value(FileAndHash, (sk), (i))
#endif