-fix
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Sat, 14 Jul 2012 23:07:50 +0000 (23:07 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Sat, 14 Jul 2012 23:07:50 +0000 (23:07 +0000)
src/gns/Makefile.am
src/gns/gnunet-gns-proxy.c

index f72a5dc4398760ea7cb00965713fb042be5af2d0..c91b26ceba66be13feccaf5c3d63137c19cf3e7a 100644 (file)
@@ -60,7 +60,8 @@ check_PROGRAMS = \
   test_gns_dht_threepeer \
        test_gns_cname_lookup \
        test_gns_ns_lookup \
-       test_gns_revocation
+       test_gns_revocation \
+       test_gns_proxy
 
 
 #  test_gns_simple_lookup
@@ -71,6 +72,19 @@ check_PROGRAMS = \
 plugin_LTLIBRARIES = \
   libgnunet_plugin_block_gns.la
 
+test_gns_proxy_SOURCES = \
+  test_gns_proxy.c
+test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/namestore/libgnunetnamestore.la \
+  $(top_builddir)/src/gns/libgnunetgns.la \
+  $(top_builddir)/src/testing/libgnunettesting.la
+test_gns_proxy_DEPENDENCIES = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/namestore/libgnunetnamestore.la \
+  $(top_builddir)/src/gns/libgnunetgns.la \
+  $(top_builddir)/src/testing/libgnunettesting.la
+
 test_gns_dht_threepeer_SOURCES = \
   test_gns_dht_threepeer.c
 test_gns_dht_threepeer_LDADD = \
index 03d08cd6b5c5b90210ecff50ba92f64865f77415..1897c4f0b27f4226dbc3537e2cd01577d1cfd079 100644 (file)
@@ -3121,6 +3121,8 @@ run (void *cls, char *const *args, const char *cfgfile,
     }
     cafile = cafile_cfg;
   }
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "Using %s as CA\n", cafile);
   
   gnutls_global_init ();
   gnutls_x509_crt_init (&proxy_ca.cert);