[X2Go-Commits] [x2goclient] 238/257: src/onmainwindow.cpp: add some comments only to createRSAKey ().

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 16:06:29 CET 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 f4743c8ae9334f4adf13cf3859d42dc7a486dced
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 90648bf..872641d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -424,6 +424,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