aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-09-23 09:40:54 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-09-23 09:40:54 +0000
commit271260ce0b2fd4550b3c5ec957e4f62d95d7b304 (patch)
treeef9e74a9349fd0897cf780b7b742d98638ab67d2 /src/gnsrecord
parente1115f4cbe0027380c5b60ef59927882ec61f7c7 (diff)
downloadgnunet-271260ce0b2fd4550b3c5ec957e4f62d95d7b304.tar.gz
gnunet-271260ce0b2fd4550b3c5ec957e4f62d95d7b304.zip
removing unused "RF_PENDING" flag
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnsrecord_crypto.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index 8cf8e532f..8c0bb9e14 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -243,8 +243,6 @@ GNUNET_GNSRECORD_block_decrypt (const struct GNUNET_GNSRECORD_Block *block,
243 j = 0; 243 j = 0;
244 for (i=0;i<rd_count;i++) 244 for (i=0;i<rd_count;i++)
245 { 245 {
246 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_PENDING))
247 continue; /* PENDING should never be used */
248 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)) 246 if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION))
249 { 247 {
250 /* encrypted blocks must never have relative expiration times, skip! */ 248 /* encrypted blocks must never have relative expiration times, skip! */