summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/asn1time.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1time.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1time.c b/src/regress/lib/libcrypto/asn1/asn1time.c
index 0adac08300..65c36dfb01 100644
--- a/src/regress/lib/libcrypto/asn1/asn1time.c
+++ b/src/regress/lib/libcrypto/asn1/asn1time.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1time.c,v 1.16 2022/09/05 21:06:31 tb Exp $ */ 1/* $OpenBSD: asn1time.c,v 1.17 2023/08/30 10:13:12 job Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -528,5 +528,8 @@ main(int argc, char **argv)
528 failed |= asn1_time_test(i, att, V_ASN1_GENERALIZEDTIME); 528 failed |= asn1_time_test(i, att, V_ASN1_GENERALIZEDTIME);
529 } 529 }
530 530
531 /* Check for a leak in ASN1_TIME_normalize(). */
532 failed |= ASN1_TIME_normalize(NULL) != 0;
533
531 return (failed); 534 return (failed);
532} 535}