slackbuilds_ponce/network/barrier/barrier-2.4.0-cert-creation.patch
Ruben Schuller 06a33c35ac
network/barrier: Updated for version 2.4.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2024-02-10 16:17:19 +07:00

11 lines
411 B
Diff

--- src/lib/net/SecureUtils.cpp 2021-11-01 21:46:43.000000000 +0100
+++ src/lib/net/SecureUtils.cpp 2024-02-06 22:12:48.553673626 +0100
@@ -190,7 +190,7 @@
X509_sign(cert, private_key, EVP_sha256());
- auto fp = fopen_utf8_path(path.c_str(), "r");
+ auto fp = fopen_utf8_path(path.c_str(), "w");
if (!fp) {
throw std::runtime_error("Could not open certificate output path");
}