From: jsing Date: Thu, 9 Dec 2021 16:31:33 +0000 (+0000) Subject: Fix missing return in asn1_compare_bytes() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e85f2c975c3f300aec64d4390cb28a1124bfc1e4;p=openbsd Fix missing return in asn1_compare_bytes() --- 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); }