summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-08-15 17:40:06 +0000
committertb <>2023-08-15 17:40:06 +0000
commit0eb2fc2f377758c42418df406a6e55518d30919b (patch)
tree9434cea09aed86f645631e776d54e7a16ee2caab
parent594f1c9e06ca2b2ac0d5db40463e13ade642a54a (diff)
downloadopenbsd-0eb2fc2f377758c42418df406a6e55518d30919b.tar.gz
openbsd-0eb2fc2f377758c42418df406a6e55518d30919b.tar.bz2
openbsd-0eb2fc2f377758c42418df406a6e55518d30919b.zip
Fix typo in previous
-rw-r--r--src/lib/libcrypto/asn1/a_string.c4
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;