aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-04 21:01:22 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-04 21:01:22 +0000
commit0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf (patch)
treeac53b9088e75b7041e14e3455698a75da085b3d7 /src/namestore
parentb6d09b511fbd61d3b36fde4c28624bed321bf4a1 (diff)
downloadgnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.tar.gz
gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.zip
-misc bugfixes, travel hacking
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-namestore.c5
-rw-r--r--src/namestore/namestore_api.c4
-rw-r--r--src/namestore/test_namestore_record_serialization.c2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 94303a9e2..a79ec5e78 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -718,8 +718,11 @@ main (int argc, char *const *argv)
718 _("GNUnet zone manipulation tool"), 718 _("GNUnet zone manipulation tool"),
719 options, 719 options,
720 &run, NULL)) 720 &run, NULL))
721 {
722 GNUNET_free ((void*) argv);
721 return 1; 723 return 1;
722 724 }
725 GNUNET_free ((void*) argv);
723 return ret; 726 return ret;
724} 727}
725 728
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 4028e5e21..5e82e08ba 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -1097,8 +1097,8 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary
1097{ 1097{
1098 size_t rd_ser_len; 1098 size_t rd_ser_len;
1099 size_t name_len; 1099 size_t name_len;
1100 char * name_tmp; 1100 char *name_tmp;
1101 char * rd_ser; 1101 char *rd_ser;
1102 struct GNUNET_CRYPTO_RsaSignaturePurpose *sig_purpose; 1102 struct GNUNET_CRYPTO_RsaSignaturePurpose *sig_purpose;
1103 struct GNUNET_TIME_AbsoluteNBO *expire_tmp; 1103 struct GNUNET_TIME_AbsoluteNBO *expire_tmp;
1104 struct GNUNET_TIME_AbsoluteNBO expire_nbo = GNUNET_TIME_absolute_hton (freshness); 1104 struct GNUNET_TIME_AbsoluteNBO expire_nbo = GNUNET_TIME_absolute_hton (freshness);
diff --git a/src/namestore/test_namestore_record_serialization.c b/src/namestore/test_namestore_record_serialization.c
index b8818a6c7..7b7cc8b5a 100644
--- a/src/namestore/test_namestore_record_serialization.c
+++ b/src/namestore/test_namestore_record_serialization.c
@@ -26,8 +26,6 @@
26#include "gnunet_namestore_service.h" 26#include "gnunet_namestore_service.h"
27#include "namestore.h" 27#include "namestore.h"
28 28
29#define VERBOSE GNUNET_NO
30
31#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) 29#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100)
32 30
33static int res; 31static int res;