mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-05 21:14:20 -04:00
Correct issues with building new SSH Agent fixes
This commit is contained in:
parent
40ad211f3e
commit
409190c85a
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,7 @@ void SSHAgent::setUseOpenSSH(bool useOpenSSH)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString SSHAgent::socketPath(bool allowOverride = true) const
|
QString SSHAgent::socketPath(bool allowOverride) const
|
||||||
{
|
{
|
||||||
QString socketPath;
|
QString socketPath;
|
||||||
|
|
||||||
|
@ -91,6 +91,7 @@ QString SSHAgent::socketPath(bool allowOverride = true) const
|
||||||
socketPath = QProcessEnvironment::systemEnvironment().value("SSH_AUTH_SOCK");
|
socketPath = QProcessEnvironment::systemEnvironment().value("SSH_AUTH_SOCK");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Q_UNUSED(allowOverride)
|
||||||
socketPath = "\\\\.\\pipe\\openssh-ssh-agent";
|
socketPath = "\\\\.\\pipe\\openssh-ssh-agent";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public:
|
||||||
|
|
||||||
bool isEnabled() const;
|
bool isEnabled() const;
|
||||||
void setEnabled(bool enabled);
|
void setEnabled(bool enabled);
|
||||||
QString socketPath(bool allowOverride) const;
|
QString socketPath(bool allowOverride = true) const;
|
||||||
QString authSockOverride() const;
|
QString authSockOverride() const;
|
||||||
void setAuthSockOverride(QString& authSockOverride);
|
void setAuthSockOverride(QString& authSockOverride);
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue