mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
Recent changes depend on an OpenSSL 3.x define. Just define it for older releases. Reported by: pkg-fallout MFH: 2024Q4
13 lines
359 B
C
13 lines
359 B
C
--- src/calibre/utils/certgen.c.orig 2024-11-08 03:00:49 UTC
|
|
+++ src/calibre/utils/certgen.c
|
|
@@ -22,6 +22,10 @@
|
|
#include <openssl/err.h>
|
|
#include <openssl/conf.h>
|
|
|
|
+#if __FreeBSD_version < 1400092
|
|
+#define X509_REQ_VERSION_1 1
|
|
+#endif
|
|
+
|
|
static PyObject*
|
|
set_error_with_detail(const char *where, const char* detail) {
|
|
char *suffix = NULL, buf[1024];
|