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

git-admin at x2go.org git-admin at x2go.org
Thu Jan 19 13:06:07 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 23b9e77d0c5a3b984644a19ded46995b0a80fbc6
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 b5f3c2b..f9cbf0d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -449,6 +449,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 f8d97bc..cea1756 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10466,7 +10466,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