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

git-admin at x2go.org git-admin at x2go.org
Sat Sep 24 23:25:28 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 c4004a2350764ffc2fe195c60a3bb32e81f2e393
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 3bd55a3..f0a3fd5 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 ().
 
  -- 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 1720855..7bec56e 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10408,7 +10408,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