mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-01 11:06:17 -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
|
||||
|
||||
QString SSHAgent::socketPath(bool allowOverride = true) const
|
||||
QString SSHAgent::socketPath(bool allowOverride) const
|
||||
{
|
||||
QString socketPath;
|
||||
|
||||
|
@ -91,6 +91,7 @@ QString SSHAgent::socketPath(bool allowOverride = true) const
|
|||
socketPath = QProcessEnvironment::systemEnvironment().value("SSH_AUTH_SOCK");
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(allowOverride)
|
||||
socketPath = "\\\\.\\pipe\\openssh-ssh-agent";
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
|
||||
bool isEnabled() const;
|
||||
void setEnabled(bool enabled);
|
||||
QString socketPath(bool allowOverride) const;
|
||||
QString socketPath(bool allowOverride = true) const;
|
||||
QString authSockOverride() const;
|
||||
void setAuthSockOverride(QString& authSockOverride);
|
||||
#ifdef Q_OS_WIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue