gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31744 - in gnunet/src: nse revocation scalarproduct


From: gnunet
Subject: [GNUnet-SVN] r31744 - in gnunet/src: nse revocation scalarproduct
Date: Tue, 24 Dec 2013 20:34:53 +0100

Author: grothoff
Date: 2013-12-24 20:34:53 +0100 (Tue, 24 Dec 2013)
New Revision: 31744

Modified:
   gnunet/src/nse/Makefile.am
   gnunet/src/revocation/Makefile.am
   gnunet/src/revocation/gnunet-revocation.c
   gnunet/src/scalarproduct/Makefile.am
Log:
-make sure to link against right libgcrypt, enable abort of gnunet-revocation 
even if identity service is not running

Modified: gnunet/src/nse/Makefile.am
===================================================================
--- gnunet/src/nse/Makefile.am  2013-12-24 18:44:11 UTC (rev 31743)
+++ gnunet/src/nse/Makefile.am  2013-12-24 19:34:53 UTC (rev 31744)
@@ -1,7 +1,7 @@
 AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 if MINGW
- WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
+ WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
 endif
 
 if USE_COVERAGE
@@ -30,7 +30,7 @@
 
 
 libexec_PROGRAMS = \
- gnunet-service-nse 
+ gnunet-service-nse
 
 if HAVE_TESTING
 noinst_PROGRAMS = \
@@ -46,19 +46,20 @@
   $(top_builddir)/src/testbed/libgnunettestbed.la \
   $(GN_LIBINTL)
 gnunet_nse_profiler_DEPENDENCIES = \
-  libgnunetnse.la                               
+  libgnunetnse.la
 
 gnunet_service_nse_SOURCES = \
- gnunet-service-nse.c         
+ gnunet-service-nse.c
 gnunet_service_nse_LDADD = \
   $(top_builddir)/src/nse/libgnunetnse.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
+  $(LIBGCRYPT_LIBS) \
   -lm -lgcrypt \
   $(GN_LIBINTL)
 gnunet_service_nse_DEPENDENCIES = \
-  libgnunetnse.la                               
+  libgnunetnse.la
 if ENABLE_NSE_HISTOGRAM
   gnunet_service_nse_LDADD += \
     $(top_builddir)/src/testbed/libgnunettestbedlogger.la
@@ -79,7 +80,7 @@
 endif
 
 if ENABLE_TEST_RUN
-TESTS = $(check_PROGRAMS) 
+TESTS = $(check_PROGRAMS)
 endif
 
 test_nse_api_SOURCES = \
@@ -87,7 +88,7 @@
 test_nse_api_LDADD = \
   $(top_builddir)/src/nse/libgnunetnse.la \
   $(top_builddir)/src/testing/libgnunettesting.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
+  $(top_builddir)/src/util/libgnunetutil.la
 
 test_nse_multipeer_SOURCES = \
  test_nse_multipeer.c
@@ -101,7 +102,8 @@
  perf_kdf.c
 perf_kdf_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
-  -lgcrypt 
+  $(LIBGCRYPT_LIBS) \
+  -lgcrypt
 
 EXTRA_DIST = \
   test_nse.conf \

Modified: gnunet/src/revocation/Makefile.am
===================================================================
--- gnunet/src/revocation/Makefile.am   2013-12-24 18:44:11 UTC (rev 31743)
+++ gnunet/src/revocation/Makefile.am   2013-12-24 19:34:53 UTC (rev 31744)
@@ -34,6 +34,7 @@
   revocation_api.c revocation.h
 libgnunetrevocation_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  $(LIBGCRYPT_LIBS) \
   $(GN_LIBINTL) $(XLIB) -lgcrypt
 libgnunetrevocation_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
@@ -66,7 +67,7 @@
  $(top_builddir)/src/testbed/libgnunettestbed.la
 
 check_PROGRAMS = \
- test_revocation 
+ test_revocation
 
 
 check_SCRIPTS = \

Modified: gnunet/src/revocation/gnunet-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-revocation.c   2013-12-24 18:44:11 UTC (rev 
31743)
+++ gnunet/src/revocation/gnunet-revocation.c   2013-12-24 19:34:53 UTC (rev 
31744)
@@ -90,6 +90,11 @@
 do_shutdown (void *cls,
              const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
+  if (NULL != el)
+  {
+    GNUNET_IDENTITY_ego_lookup_cancel (el);
+    el = NULL;
+  }
   if (NULL != q)
   {
     GNUNET_REVOCATION_query_cancel (q);

Modified: gnunet/src/scalarproduct/Makefile.am
===================================================================
--- gnunet/src/scalarproduct/Makefile.am        2013-12-24 18:44:11 UTC (rev 
31743)
+++ gnunet/src/scalarproduct/Makefile.am        2013-12-24 19:34:53 UTC (rev 
31744)
@@ -29,6 +29,7 @@
 gnunet_scalarproduct_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/scalarproduct/libgnunetscalarproduct.la \
+  $(LIBGCRYPT_LIBS) \
   -lgcrypt \
   $(GN_LIBINTL)
 gnunet_scalarproduct_DEPENDENCIES = \
@@ -40,6 +41,7 @@
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/mesh/libgnunetmesh.la \
   $(top_builddir)/src/set/libgnunetset.la \
+  $(LIBGCRYPT_LIBS) \
   -lgcrypt \
   $(GN_LIBINTL)
 
@@ -49,6 +51,7 @@
 libgnunetscalarproduct_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
+  $(LIBGCRYPT_LIBS) \
   -lgcrypt \
   $(LTLIBINTL)
 libgnunetscalarproduct_la_LDFLAGS = \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]