diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-27 19:31:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-27 19:31:59 +0000 |
commit | 5330f50ec358b87f57e947909f1325a6f12549f0 (patch) | |
tree | aa47bcd929e42e6c582257445a287f23e362ce90 /src/namestore | |
parent | ef156a0d4a77ff67e837fee2dd739f7590e91ac2 (diff) | |
download | gnunet-5330f50ec358b87f57e947909f1325a6f12549f0.tar.gz gnunet-5330f50ec358b87f57e947909f1325a6f12549f0.zip |
-fix
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/namestore_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index d699c6ee3..1900f3282 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c | |||
@@ -1122,7 +1122,7 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
1122 | rd_ser_len = GNUNET_NAMESTORE_records_get_size (rd_count, rd); | 1122 | rd_ser_len = GNUNET_NAMESTORE_records_get_size (rd_count, rd); |
1123 | sig_len = sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + sizeof (struct GNUNET_TIME_AbsoluteNBO) + rd_ser_len + name_len; | 1123 | sig_len = sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + sizeof (struct GNUNET_TIME_AbsoluteNBO) + rd_ser_len + name_len; |
1124 | { | 1124 | { |
1125 | char sig_buf[rd_ser_len] GNUNET_ALIGN; | 1125 | char sig_buf[sig_len] GNUNET_ALIGN; |
1126 | 1126 | ||
1127 | sig_purpose = (struct GNUNET_CRYPTO_RsaSignaturePurpose *) sig_buf; | 1127 | sig_purpose = (struct GNUNET_CRYPTO_RsaSignaturePurpose *) sig_buf; |
1128 | sig_purpose->size = htonl (sig_len); | 1128 | sig_purpose->size = htonl (sig_len); |