summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trust/builder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/builder.c b/trust/builder.c
index 15999bb..698fef1 100644
--- a/trust/builder.c
+++ b/trust/builder.c
@@ -332,7 +332,7 @@ calc_date (node_asn *node,
return_val_if_fail (len >= 6, false);
year = atoin (buf, 2);
- return_val_if_fail (year > 0, false);
+ return_val_if_fail (year >= 0, false);
century = century_for_two_digit_year (year);
return_val_if_fail (century >= 0, false);