fix openssl11 regress compilation
authortb <tb@openbsd.org>
Tue, 15 Aug 2023 08:01:01 +0000 (08:01 +0000)
committertb <tb@openbsd.org>
Tue, 15 Aug 2023 08:01:01 +0000 (08:01 +0000)
reminded by anton

regress/usr.sbin/rpki-client/openssl11/unistd.h

index 6fd88bc..5f7fe2c 100644 (file)
@@ -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