summaryrefslogtreecommitdiff
path: root/security/openiked-portable/files/patch-ikectl_ikeca.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/openiked-portable/files/patch-ikectl_ikeca.c')
-rw-r--r--security/openiked-portable/files/patch-ikectl_ikeca.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/security/openiked-portable/files/patch-ikectl_ikeca.c b/security/openiked-portable/files/patch-ikectl_ikeca.c
deleted file mode 100644
index 4db8e1ce4744..000000000000
--- a/security/openiked-portable/files/patch-ikectl_ikeca.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- ikectl/ikeca.c.orig 2025-04-09 19:47:21 UTC
-+++ ikectl/ikeca.c
-@@ -47,8 +47,11 @@
- #define SSLDIR PREFIX "/etc/ssl"
- #endif
- #define SSL_CNF SSLDIR "/openssl.cnf"
--#define X509_CNF SSLDIR "/ikex509v3.cnf"
--#define IKECA_CNF SSLDIR "/ikeca.cnf"
-+#ifndef CADIR
-+#define CADIR SSLDIR
-+#endif
-+#define X509_CNF CADIR "/ikex509v3.cnf"
-+#define IKECA_CNF CADIR "/ikeca.cnf"
- #define KEYBASE PREFIX "/etc/iked"
- #ifndef EXPDIR
- #define EXPDIR PREFIX "/usr/share/iked"
-@@ -1118,7 +1121,7 @@ ca_setup(char *caname, int create, int quiet, char *pa
- err(1, "calloc");
-
- ca->caname = strdup(caname);
-- len = snprintf(ca->sslpath, sizeof(ca->sslpath), SSLDIR "/%s", caname);
-+ len = snprintf(ca->sslpath, sizeof(ca->sslpath), CADIR "/%s", caname);
- if (len < 0 || (size_t)len >= sizeof(ca->sslpath))
- err(1, "%s: snprintf", __func__);
-