summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2021-12-09 16:31:33 +0000
committerjsing <>2021-12-09 16:31:33 +0000
commit173d66f484127151729726c4f8a134f28ec9f368 (patch)
tree86edf27cace912d8a8978f04596289f96f2d4eb7
parent46edbde341caa08ff7f9e3650eb3d68366fc7f4f (diff)
downloadopenbsd-173d66f484127151729726c4f8a134f28ec9f368.tar.gz
openbsd-173d66f484127151729726c4f8a134f28ec9f368.tar.bz2
openbsd-173d66f484127151729726c4f8a134f28ec9f368.zip
Fix missing return in asn1_compare_bytes()
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1time.c b/src/regress/lib/libcrypto/asn1/asn1time.c
index 6a3921bd9c..6bbbf393a1 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.8 2015/12/28 14:18:38 bcook Exp $ */ 1/* $OpenBSD: asn1time.c,v 1.9 2021/12/09 16:31:33 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -163,6 +163,7 @@ asn1_compare_bytes(int test_no, const unsigned char *d1,
163 hexdump(d1, len1); 163 hexdump(d1, len1);
164 fprintf(stderr, "Want:\n"); 164 fprintf(stderr, "Want:\n");
165 hexdump(d2, len2); 165 hexdump(d2, len2);
166 return (1);
166 } 167 }
167 return (0); 168 return (0);
168} 169}