aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-08-05 15:47:12 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-08-05 15:47:12 +0200
commit955acb22c3b99e0e50dc7e7253dbf7bf1071f03b (patch)
treee997a0f39c72ab2e4339cda5aef0ab03e2fc8e96
parentaf793ec6440274e492c04a78f05c96ae6b24205d (diff)
downloadgnunet-955acb22c3b99e0e50dc7e7253dbf7bf1071f03b.tar.gz
gnunet-955acb22c3b99e0e50dc7e7253dbf7bf1071f03b.zip
-fix https cert creationv0.17.3
-rw-r--r--src/transport/Makefile.am5
-rw-r--r--src/transport/gnunet-transport-certificate-creation.in2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 2b09ccf63..7bd07b905 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -268,8 +268,9 @@ do_subst = sed -e 's,[@]pkgdatadir[@],$(pkgdatadir),g'
268 268
269 269
270gnunet-transport-certificate-creation: gnunet-transport-certificate-creation.in Makefile 270gnunet-transport-certificate-creation: gnunet-transport-certificate-creation.in Makefile
271 $(do_subst) < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation 271 $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
272 chmod +x gnunet-transport-certificate-creation 272 @chmod +x gnunet-transport-certificate-creation
273
273 274
274 275
275 276
diff --git a/src/transport/gnunet-transport-certificate-creation.in b/src/transport/gnunet-transport-certificate-creation.in
index dfcb4e8e9..771422a7a 100644
--- a/src/transport/gnunet-transport-certificate-creation.in
+++ b/src/transport/gnunet-transport-certificate-creation.in
@@ -109,7 +109,7 @@ generate_cert_key()
109 CERTTOOL="" 109 CERTTOOL=""
110 GNUTLS_CA_TEMPLATE=@PKGDATADIRECTORY@/gnunet-gns-proxy-ca.template 110 GNUTLS_CA_TEMPLATE=@PKGDATADIRECTORY@/gnunet-gns-proxy-ca.template
111 OPENSSL=0 111 OPENSSL=0
112 if test -x $(existence gnunet-certtool) 112 if test -x $(existence gnutls-certtool)
113 #if test -z "`gnutls-certtool --version`" > /dev/null 113 #if test -z "`gnutls-certtool --version`" > /dev/null
114 then 114 then
115 if test -z "`certtool --version | grep gnutls`" > /dev/null 115 if test -z "`certtool --version | grep gnutls`" > /dev/null