summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-12-09 16:31:34 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-12-09 16:31:34 +0000
commitbfa962c26ab7927f7c446bac8da1cd3349fc53a8 (patch)
tree949860704a069109a9ed570a70cc49ac4db8897f /regress/lib
parente700dd9fd450c06ca713de5dce3360e88f47d18d (diff)
Fix missing return in asn1_compare_bytes()
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/asn1/asn1time.c3
1 files changed, 2 insertions, 1 deletions
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 <jsing@openbsd.org>
*
@@ -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);
}