Date: Mon, 16 Jun 2025 09:45:49 GMT From: Chris Rees <crees@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 26c251cf04b1 - main - security/certmonger: Fix for old OpenSSL Message-ID: <202506160945.55G9jnBV037485@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by crees: URL: https://cgit.FreeBSD.org/ports/commit/?id=26c251cf04b151ac7de3e95d0ed8a82f0acb61a5 commit 26c251cf04b151ac7de3e95d0ed8a82f0acb61a5 Author: Chris Rees <crees@FreeBSD.org> AuthorDate: 2025-06-16 09:44:43 +0000 Commit: Chris Rees <crees@FreeBSD.org> CommitDate: 2025-06-16 09:45:41 +0000 security/certmonger: Fix for old OpenSSL --- security/certmonger/files/patch-src_util-o.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/security/certmonger/files/patch-src_util-o.c b/security/certmonger/files/patch-src_util-o.c new file mode 100644 index 000000000000..dbd041aae460 --- /dev/null +++ b/security/certmonger/files/patch-src_util-o.c @@ -0,0 +1,24 @@ +This can be removed once FreeBSD 13 stops being supported + +--- src/util-o.c.orig 2024-06-10 21:15:16 UTC ++++ src/util-o.c +@@ -19,6 +19,7 @@ + + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/param.h> + #include <errno.h> + #include <fcntl.h> + #include <grp.h> +@@ -551,7 +552,11 @@ util_EVP_PKEY_dup(EVP_PKEY *pkey, + + static EVP_PKEY * + util_EVP_PKEY_dup(EVP_PKEY *pkey, ++#if __FreeBSD_version >= 1400092 + int (*i2d)(const EVP_PKEY *, unsigned char **), ++#else ++ int (*i2d)(EVP_PKEY *, unsigned char **), ++#endif + EVP_PKEY *(*d2i)(int, EVP_PKEY **, const unsigned char **, long)) + { + EVP_PKEY *k;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506160945.55G9jnBV037485>
