diff options
-rw-r--r-- | src/gns/gnunet-gns-proxy-setup-ca (renamed from src/gns/createProxyCa.sh) | 5 | ||||
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gns/createProxyCa.sh b/src/gns/gnunet-gns-proxy-setup-ca index 43855241e..019db0763 100644 --- a/src/gns/createProxyCa.sh +++ b/src/gns/gnunet-gns-proxy-setup-ca | |||
@@ -6,12 +6,9 @@ echo "Removing passphrase from key" | |||
6 | openssl rsa -passin pass:"GNUnet Naming System" -in gnscakey.pem -out gnscakeynoenc.pem | 6 | openssl rsa -passin pass:"GNUnet Naming System" -in gnscakey.pem -out gnscakeynoenc.pem |
7 | 7 | ||
8 | cp gnscacert.pem $HOME/.gnunet/gns/gnscert.pem | 8 | cp gnscacert.pem $HOME/.gnunet/gns/gnscert.pem |
9 | cat gnscacert.pem >> $HOME/.gnunet/gns/gnsCAcert.pem | 9 | cat gnscacert.pem > $HOME/.gnunet/gns/gnsCAcert.pem |
10 | cat gnscakeynoenc.pem >> $HOME/.gnunet/gns/gnsCAcert.pem | 10 | cat gnscakeynoenc.pem >> $HOME/.gnunet/gns/gnsCAcert.pem |
11 | cat gnscakey.pem | ||
12 | cat gnscacert.pem | ||
13 | 11 | ||
14 | echo "Cleaning up" | ||
15 | rm gnscakey.pem gnscakeynoenc.pem gnscacert.pem | 12 | rm gnscakey.pem gnscakeynoenc.pem gnscacert.pem |
16 | 13 | ||
17 | echo "Next steps:" | 14 | echo "Next steps:" |
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 790a9f474..d6e5ba3d1 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -2380,8 +2380,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
2380 | load_cert_from_file (proxy_ca.cert, cafile); | 2380 | load_cert_from_file (proxy_ca.cert, cafile); |
2381 | load_key_from_file (proxy_ca.key, cafile); | 2381 | load_key_from_file (proxy_ca.key, cafile); |
2382 | 2382 | ||
2383 | if (cafile_cfg) | 2383 | GNUNET_free_non_null (cafile_cfg); |
2384 | GNUNET_free (cafile_cfg); | ||
2385 | 2384 | ||
2386 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2385 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2387 | "Loading Template\n"); | 2386 | "Loading Template\n"); |