[X2Go-Commits] [x2goclient] 238/239: src/onmainwindow.cpp: add some comments only to createRSAKey ().
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 24 23:28:07 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 3fbee71a6cde8c9722498d674228efe6e076573b
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Sep 24 23:09:18 2016 +0200
src/onmainwindow.cpp: add some comments only to createRSAKey ().
---
debian/changelog | 1 +
src/onmainwindow.cpp | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7257b59..8127ac5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -422,6 +422,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
- src/onmainwindow.cpp: let startSshd () act as a wrapper and be called
multiple times. Check if the OpenSSH Server is already running and
return true, otherwise try to start it.
+ - src/onmainwindow.cpp: add some comments only to createRSAKey ().
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 5362b3e..90cdc64 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10431,7 +10431,15 @@ QString ONMainWindow::createRSAKey () {
x2goErrorf (10) << tr ("Cannot open key: ") << user_key;
return (user_key);
}
+
+ /* Append public host key into private user key file. */
QTextStream out (&file);
+
+ /*
+ * The string here should be changed, but this requires
+ * changes to X2Go Server as well.
+ * As such, I'll be not changing it here for now.
+ */
out << "----BEGIN RSA IDENTITY----" << rsa_pub;
file.close ();
return (user_key);
--
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