projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95cb54
)
- segfault
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 6 Mar 2012 08:51:19 +0000
(08:51 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 6 Mar 2012 08:51:19 +0000
(08:51 +0000)
src/namestore/plugin_namestore_sqlite.c
patch
|
blob
|
history
diff --git
a/src/namestore/plugin_namestore_sqlite.c
b/src/namestore/plugin_namestore_sqlite.c
index 2d660cb7eecc811e16aa70a2b5c7e2dd24a144a1..a6009611c080de1ca4c831410c9d15f75e2b1ec2 100644
(file)
--- a/
src/namestore/plugin_namestore_sqlite.c
+++ b/
src/namestore/plugin_namestore_sqlite.c
@@
-467,7
+467,7
@@
namestore_sqlite_put_records (void *cls,
struct Plugin *plugin = cls;
int n;
GNUNET_HashCode zone;
-
GNUNET_HashCode
zone_delegation;
+
struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
zone_delegation;
GNUNET_HashCode nh;
size_t name_len;
uint64_t rvalue;
@@
-483,6
+483,7
@@
namestore_sqlite_put_records (void *cls,
if (rd[i].record_type == GNUNET_NAMESTORE_TYPE_PKEY)
{
GNUNET_assert (sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) == rd[i].data_size);
+ GNUNET_break (0);
memcpy (&zone_delegation,
rd[i].data,
sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded));