[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -TRANSPORT(fix): consider certtool
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -TRANSPORT(fix): consider certtool |
Date: |
Mon, 13 Jun 2022 20:04:26 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 32064a9ff -TRANSPORT(fix): consider certtool
32064a9ff is described below
commit 32064a9ffbc52790b1130e4d96c37c683569bcab
Author: Julius Bünger <buenger@mytum.de>
AuthorDate: Fri Jun 10 15:08:20 2022 +0200
-TRANSPORT(fix): consider certtool
Previously this script only checked for `gnutls-certtool` and `openssl`.
Now it checks for `certtool` as well.
---
src/transport/gnunet-transport-certificate-creation.in | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/transport/gnunet-transport-certificate-creation.in
b/src/transport/gnunet-transport-certificate-creation.in
index 8348dd1b7..454f05a5d 100644
--- a/src/transport/gnunet-transport-certificate-creation.in
+++ b/src/transport/gnunet-transport-certificate-creation.in
@@ -107,14 +107,19 @@ generate_cert_key()
OPENSSL=0
if test -z "`gnutls-certtool --version`" > /dev/null
then
- if test -z "`openssl version`" > /dev/null
+ if test -z "`certtool --version`" > /dev/null
then
- warningmsg "Install either gnutls certtool or openssl for certificate
generation!"
- exit 1
+ if test -z "`openssl version`" > /dev/null
+ then
+ warningmsg "Install either gnutls certtool or openssl for
certificate generation!"
+ exit 1
+ else
+ OPENSSL=1
+ fi
+ CERTTOOL="openssl"
else
- OPENSSL=1
+ CERTTOOL="certtool"
fi
- CERTTOOL="openssl"
else
CERTTOOL="gnutls-certtool"
fi
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -TRANSPORT(fix): consider certtool,
gnunet <=