-/* $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>
*
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
-/* $OpenBSD: roa.c,v 1.44 2022/05/19 07:33:02 tb Exp $ */
+/* $OpenBSD: roa.c,v 1.45 2022/05/23 14:10:18 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
DECLARE_STACK_OF(ROAIPAddressFamily);
-#if defined(LIBRESSL_VERSION_NUMBER)
+#ifndef DEFINE_STACK_OF
#define sk_ROAIPAddress_num(st) SKM_sk_num(ROAIPAddress, (st))
#define sk_ROAIPAddress_value(st, i) SKM_sk_value(ROAIPAddress, (st), (i))