diff options
-rw-r--r-- | src/lib/libcrypto/asn1/a_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c index ca03008186..7deaf38e33 100644 --- a/src/lib/libcrypto/asn1/a_string.c +++ b/src/lib/libcrypto/asn1/a_string.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_string.c,v 1.15 2023/08/15 17:38:00 tb Exp $ */ | 1 | /* $OpenBSD: a_string.c,v 1.16 2023/08/15 17:40:06 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -121,7 +121,7 @@ ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) | |||
121 | return cmp; | 121 | return cmp; |
122 | if (a->length != 0) { | 122 | if (a->length != 0) { |
123 | if ((cmp = memcmp(a->data, b->data, a->length)) != 0) | 123 | if ((cmp = memcmp(a->data, b->data, a->length)) != 0) |
124 | return 0; | 124 | return cmp; |
125 | } | 125 | } |
126 | 126 | ||
127 | return a->type - b->type; | 127 | return a->type - b->type; |