[X2Go-Commits] [x2goclient] 01/02: src/onmainwindow.cpp: add debug statements to createRSAKey () regarding the host pub key locations on OS X.
git-admin at x2go.org
git-admin at x2go.org
Thu Sep 22 04:29:45 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 41a6398f3736ec76b2f3cda9e7282dff57789898
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Sep 22 04:27:23 2016 +0200
src/onmainwindow.cpp: add debug statements to createRSAKey () regarding the host pub key locations on OS X.
---
debian/changelog | 2 ++
src/onmainwindow.cpp | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ed3e891..3fc9fc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
- src/sessionbutton.cpp: replace drop down menu button on session buttons
with a more prominent, bigger settings gear icon. Requested for
visibility.
+ - src/onmainwindow.cpp: add debug statements to createRSAKey () regarding
+ the host pub key locations on OS X.
-- X2Go Release Manager <git-admin at x2go.org> Mon, 19 Sep 2016 09:07:07 +0200
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 1042b58..1e645d8 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -8063,9 +8063,13 @@ QString ONMainWindow::createRSAKey()
/* OS X 10.11+ changed the key location to /etc/ssh/. */
QFileInfo rsa_host_key ("/etc/ssh/ssh_host_rsa_key.pub");
+ x2goDebug << "first try for RSA key " << rsa_host_key.absoluteFilePath () << ": "
+ << rsa_host_key.exists ();
if (!(rsa_host_key.exists ())) {
rsa_host_key = QFileInfo ("/etc/ssh_host_rsa_key.pub");
+ x2goDebug << "second try for RSA key " << rsa_host_key.absoluteFilePath () << ": "
+ << rsa_host_key.exists ();
if (!(rsa_host_key.exists ())) {
printSshDError_noHostPubKey ();
return QString::null;
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list