From c489c5d00c0c648a9740939f282c08a35d4e7a8e Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 15 Aug 2023 17:40:06 +0000 Subject: [PATCH] Fix typo in previous --- lib/libcrypto/asn1/a_string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/asn1/a_string.c b/lib/libcrypto/asn1/a_string.c index ca03008186d..7deaf38e332 100644 --- a/lib/libcrypto/asn1/a_string.c +++ b/lib/libcrypto/asn1/a_string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: a_string.c,v 1.15 2023/08/15 17:38:00 tb Exp $ */ +/* $OpenBSD: a_string.c,v 1.16 2023/08/15 17:40:06 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -121,7 +121,7 @@ ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) return cmp; if (a->length != 0) { if ((cmp = memcmp(a->data, b->data, a->length)) != 0) - return 0; + return cmp; } return a->type - b->type; -- 2.20.1