aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_helpers_exchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_helpers_exchange.c')
-rw-r--r--src/testing/testing_api_helpers_exchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_api_helpers_exchange.c b/src/testing/testing_api_helpers_exchange.c
index 1eecbfeb3..c2c5136e1 100644
--- a/src/testing/testing_api_helpers_exchange.c
+++ b/src/testing/testing_api_helpers_exchange.c
@@ -425,7 +425,7 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys,
(GNUNET_TIME_timestamp_cmp (now,
<,
pk->withdraw_valid_until)) &&
- (age_restricted == (0 != pk->key.age_mask.mask)) )
+ (age_restricted == (0 != pk->key.age_mask.bits)) )
return pk;
}
/* do 2nd pass to check if expiration times are to blame for
@@ -442,7 +442,7 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys,
GNUNET_TIME_timestamp_cmp (now,
>,
pk->withdraw_valid_until) ) &&
- (age_restricted == (0 != pk->key.age_mask.mask)) )
+ (age_restricted == (0 != pk->key.age_mask.bits)) )
{
GNUNET_log
(GNUNET_ERROR_TYPE_WARNING,