[X2Go-Commits] [buildscripts] 01/03: bin/slave-start-prepare.sh: newer OpenSSL versions seem to also output the header and footer, adjust comment accordingly.

git-admin at x2go.org git-admin at x2go.org
Sat Jun 10 23:56:15 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit f8195329e0829dc6da7584055f85db900ef3528d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jun 10 23:50:15 2017 +0200

    bin/slave-start-prepare.sh: newer OpenSSL versions seem to also output the header and footer, adjust comment accordingly.
---
 bin/slave-start-prepare.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/slave-start-prepare.sh b/bin/slave-start-prepare.sh
index c2c7f22..80d7d20 100755
--- a/bin/slave-start-prepare.sh
+++ b/bin/slave-start-prepare.sh
@@ -6,8 +6,8 @@ typeset prefix="$(cut -d"-" -f1 <<< "$(basename "${0}")")"
 
 # Generate this stuff via:
 #   - openssl s_client -showcerts -servername hostname -connect host:port
-#   - copy the first PEM-encoded certificate to ${cert}
-#   - add the "-----BEGIN CERTIFICATE-----" header and "-----END CERTIFICATE-----" footer to ${cert}
+#   - copy the first PEM-encoded certificate to ${cert} including headers (if printed)
+#   - optionally: add the "-----BEGIN CERTIFICATE-----" header and "-----END CERTIFICATE-----" footer to ${cert}
 #   - openssl x509 -noout -pubkey < "${cert}" | openssl asn1parse -noout -inform pem -out /dev/stdout | openssl dgst -sha256 -binary | openssl base64
 typeset ssl_hash=""
 typeset host=""

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list