summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-02-18 22:17:01 +0000
committertb <>2024-02-18 22:17:01 +0000
commit88609c61aec3732d110011eb1718f26a6a976eba (patch)
tree6e6cc2b8daa52da6dc5f2017d71d249251eb4476
parentccc10fa9e7e3890f48d11a6495136719c954ee7e (diff)
downloadopenbsd-88609c61aec3732d110011eb1718f26a6a976eba.tar.gz
openbsd-88609c61aec3732d110011eb1718f26a6a976eba.tar.bz2
openbsd-88609c61aec3732d110011eb1718f26a6a976eba.zip
asn1time: remove some debugging code
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1time.c b/src/regress/lib/libcrypto/asn1/asn1time.c
index 3fe9f8df3d..8208fcd1c0 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.24 2024/02/18 17:13:29 tb Exp $ */ 1/* $OpenBSD: asn1time.c,v 1.25 2024/02/18 22:17:01 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2024 Google Inc. 4 * Copyright (c) 2024 Google Inc.
@@ -699,8 +699,6 @@ asn1_time_overflow(void)
699 if (memcmp(&copy, &max_time, sizeof(max_time)) != 0) { 699 if (memcmp(&copy, &max_time, sizeof(max_time)) != 0) {
700 fprintf(stderr, "FAIL: maximally adjusted copy didn't match " 700 fprintf(stderr, "FAIL: maximally adjusted copy didn't match "
701 "max_time\n"); 701 "max_time\n");
702 hexdump((unsigned char *)&max_time, sizeof(max_time));
703 hexdump((unsigned char *)&copy, sizeof(copy));
704 goto err; 702 goto err;
705 } 703 }
706 if (!OPENSSL_gmtime_adj(&copy, 0, -valid_time_range)) { 704 if (!OPENSSL_gmtime_adj(&copy, 0, -valid_time_range)) {