[X2Go-Commits] [x2goclient] 238/280: src/onmainwindow.cpp: add some comments only to createRSAKey ().
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 18 12:26:10 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit e3439e4b3f0c18c84aec9667714cca3f2cc638d1
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 40d09c2..150dedd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -448,6 +448,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 cb65b1e..1ecc214 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10467,7 +10467,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