From 5330f50ec358b87f57e947909f1325a6f12549f0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 27 Jun 2012 19:31:59 +0000 Subject: [PATCH] -fix --- src/namestore/namestore_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 rd_ser_len = GNUNET_NAMESTORE_records_get_size (rd_count, rd); sig_len = sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + sizeof (struct GNUNET_TIME_AbsoluteNBO) + rd_ser_len + name_len; { - char sig_buf[rd_ser_len] GNUNET_ALIGN; + char sig_buf[sig_len] GNUNET_ALIGN; sig_purpose = (struct GNUNET_CRYPTO_RsaSignaturePurpose *) sig_buf; sig_purpose->size = htonl (sig_len); -- 2.25.1