depot/third_party/nixpkgs/pkgs/kde/plasma/krdp/hardcode-openssl-path.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

13 lines
687 B
Diff

diff --git a/src/kcm/kcmkrdpserver.cpp b/src/kcm/kcmkrdpserver.cpp
index 3af527c..3433a84 100644
--- a/src/kcm/kcmkrdpserver.cpp
+++ b/src/kcm/kcmkrdpserver.cpp
@@ -218,7 +218,7 @@ void KRDPServerConfig::generateCertificate()
QString certificateKeyPath(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/krdpserver/krdp.key"));
qDebug(KRDPKCM) << "Generating certificate files to: " << certificatePath << " and " << certificateKeyPath;
QProcess sslProcess;
- sslProcess.start(u"openssl"_qs,
+ sslProcess.start(u"@openssl@"_qs,
{
u"req"_qs,
u"-nodes"_qs,