diff options
author | jmc <> | 2022-12-26 07:18:53 +0000 |
---|---|---|
committer | jmc <> | 2022-12-26 07:18:53 +0000 |
commit | 8144b51086b3c46594192ccbec62762e58d61200 (patch) | |
tree | 26f3d93398833b7449b8a97e9fe4af9904382dbf /src/lib/libcrypto/asn1 | |
parent | 54da696f897367a85e20e97a53d29b18b44cf8b7 (diff) | |
download | openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.gz openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.bz2 openbsd-8144b51086b3c46594192ccbec62762e58d61200.zip |
spelling fixes; from paul tagliamonte
i removed the arithmetics -> arithmetic changes, as i felt they
were not clearly correct
ok tb
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r-- | src/lib/libcrypto/asn1/a_mbstr.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_utl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/a_mbstr.c b/src/lib/libcrypto/asn1/a_mbstr.c index 06b674ef41..32b39ad5db 100644 --- a/src/lib/libcrypto/asn1/a_mbstr.c +++ b/src/lib/libcrypto/asn1/a_mbstr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_mbstr.c,v 1.25 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: a_mbstr.c,v 1.26 2022/12/26 07:18:51 jmc Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -276,7 +276,7 @@ traverse_string(const unsigned char *p, int len, int inform, | |||
276 | case MBSTRING_BMP: | 276 | case MBSTRING_BMP: |
277 | value = *p++ << 8; | 277 | value = *p++ << 8; |
278 | value |= *p++; | 278 | value |= *p++; |
279 | /* BMP is explictly defined to not support surrogates */ | 279 | /* BMP is explicitly defined to not support surrogates */ |
280 | if (UNICODE_IS_SURROGATE(value)) | 280 | if (UNICODE_IS_SURROGATE(value)) |
281 | return -1; | 281 | return -1; |
282 | len -= 2; | 282 | len -= 2; |
diff --git a/src/lib/libcrypto/asn1/tasn_utl.c b/src/lib/libcrypto/asn1/tasn_utl.c index 86cd42eec7..ae546edd4b 100644 --- a/src/lib/libcrypto/asn1/tasn_utl.c +++ b/src/lib/libcrypto/asn1/tasn_utl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_utl.c,v 1.17 2022/05/12 19:55:58 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_utl.c,v 1.18 2022/12/26 07:18:51 jmc Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -100,7 +100,7 @@ asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) | |||
100 | /* Do reference counting. The value 'op' decides what to do. | 100 | /* Do reference counting. The value 'op' decides what to do. |
101 | * if it is +1 then the count is incremented. If op is 0 count is | 101 | * if it is +1 then the count is incremented. If op is 0 count is |
102 | * set to 1. If op is -1 count is decremented and the return value | 102 | * set to 1. If op is -1 count is decremented and the return value |
103 | * is the current refrence count or 0 if no reference count exists. | 103 | * is the current reference count or 0 if no reference count exists. |
104 | */ | 104 | */ |
105 | 105 | ||
106 | int | 106 | int |