From: tb Date: Tue, 15 Aug 2023 17:40:06 +0000 (+0000) Subject: Fix typo in previous X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c489c5d00c0c648a9740939f282c08a35d4e7a8e;p=openbsd Fix typo in previous --- 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;