aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-05 11:15:31 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-05 11:15:31 +0000
commit8d7f670f6682d3d554226f127545ea47212e6a3b (patch)
tree0b28cd0cdbb475fda3b1907e5541a0d5156323e4 /src/gnsrecord
parent979d6c82e5ca8564794610be8abea5c7f17f5899 (diff)
downloadgnunet-8d7f670f6682d3d554226f127545ea47212e6a3b.tar.gz
gnunet-8d7f670f6682d3d554226f127545ea47212e6a3b.zip
-handle PENDING
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnsrecord_crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index e11facf78..a9c35a6d8 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -240,6 +240,8 @@ GNUNET_GNSRECORD_block_decrypt (const struct GNUNET_GNSRECORD_Block *block,
240 j = 0; 240 j = 0;
241 for (i=0;i<rd_count;i++) 241 for (i=0;i<rd_count;i++)
242 { 242 {
243 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_PENDING))
244 continue; /* PENDING should never be used */
243 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)) 245 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION))
244 { 246 {
245 /* encrypted blocks must never have relative expiration times, skip! */ 247 /* encrypted blocks must never have relative expiration times, skip! */