Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/deskutils/calibre/files/patch-src_calibre_utils_certgen.c
16461 views
1
--- src/calibre/utils/certgen.c.orig 2024-11-08 03:00:49 UTC
2
+++ src/calibre/utils/certgen.c
3
@@ -22,6 +22,10 @@
4
#include <openssl/err.h>
5
#include <openssl/conf.h>
6
7
+#if __FreeBSD_version < 1400092
8
+#define X509_REQ_VERSION_1 1
9
+#endif
10
+
11
static PyObject*
12
set_error_with_detail(const char *where, const char* detail) {
13
char *suffix = NULL, buf[1024];
14
15