summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-08-15 08:01:02 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-08-15 08:01:02 +0000
commit75fda03141ccc1ee3c83498575162d029bc62034 (patch)
treee15d5bfd15b44bbefda4a50542b4ba70abcf6233 /regress/usr.sbin
parentd8620db6ab8bdd581ad06f4f59d981776fcadf83 (diff)
fix openssl11 regress compilation
reminded by anton
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/rpki-client/openssl11/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/usr.sbin/rpki-client/openssl11/unistd.h b/regress/usr.sbin/rpki-client/openssl11/unistd.h
index 6fd88bccd7f..5f7fe2c7285 100644
--- a/regress/usr.sbin/rpki-client/openssl11/unistd.h
+++ b/regress/usr.sbin/rpki-client/openssl11/unistd.h
@@ -8,6 +8,9 @@
#include <openssl/stack.h>
+#define CMS_get_version(cms, version) (*(version) = 3, 1)
+#define CMS_SignerInfo_get_version(cms, version) (*(version) = 3, 1)
+
#ifndef DECLARE_STACK_OF
#define DECLARE_STACK_OF DEFINE_STACK_OF
#endif