From e85f2c975c3f300aec64d4390cb28a1124bfc1e4 Mon Sep 17 00:00:00 2001 From: jsing Date: Thu, 9 Dec 2021 16:31:33 +0000 Subject: [PATCH] Fix missing return in asn1_compare_bytes() --- regress/lib/libcrypto/asn1/asn1time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/lib/libcrypto/asn1/asn1time.c b/regress/lib/libcrypto/asn1/asn1time.c index 6a3921bd9c6..6bbbf393a15 100644 --- a/regress/lib/libcrypto/asn1/asn1time.c +++ b/regress/lib/libcrypto/asn1/asn1time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1time.c,v 1.8 2015/12/28 14:18:38 bcook Exp $ */ +/* $OpenBSD: asn1time.c,v 1.9 2021/12/09 16:31:33 jsing Exp $ */ /* * Copyright (c) 2015 Joel Sing * @@ -163,6 +163,7 @@ asn1_compare_bytes(int test_no, const unsigned char *d1, hexdump(d1, len1); fprintf(stderr, "Want:\n"); hexdump(d2, len2); + return (1); } return (0); } -- 2.20.1