diff options
| author | tb <> | 2023-08-15 17:40:06 +0000 |
|---|---|---|
| committer | tb <> | 2023-08-15 17:40:06 +0000 |
| commit | a4680335ab2e7a1fe55d95eb8ed3999a07570ce9 (patch) | |
| tree | 9434cea09aed86f645631e776d54e7a16ee2caab /src/lib/libc | |
| parent | cc9f1360c7d1412dcf9c79e0d37328353a91d6e7 (diff) | |
| download | openbsd-a4680335ab2e7a1fe55d95eb8ed3999a07570ce9.tar.gz openbsd-a4680335ab2e7a1fe55d95eb8ed3999a07570ce9.tar.bz2 openbsd-a4680335ab2e7a1fe55d95eb8ed3999a07570ce9.zip | |
Fix typo in previous
Diffstat (limited to '')
| -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; |
