diff options
| author | tb <> | 2019-04-16 19:31:07 +0000 |
|---|---|---|
| committer | tb <> | 2019-04-16 19:31:07 +0000 |
| commit | ab27718b829de35b188f0399a5bddb2e424cb0ca (patch) | |
| tree | 48095a71c1ee1a1fdccb25d7f438b99db25a07a9 /src | |
| parent | 54fef0b46b2d3ba4d21099de01f7fc7e1fa6b9a5 (diff) | |
| download | openbsd-ab27718b829de35b188f0399a5bddb2e424cb0ca.tar.gz openbsd-ab27718b829de35b188f0399a5bddb2e424cb0ca.tar.bz2 openbsd-ab27718b829de35b188f0399a5bddb2e424cb0ca.zip | |
wrap an overlong line and kill a space before a tab
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_utl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_utl.c b/src/lib/libcrypto/x509v3/v3_utl.c index d9c06af823..389e26b507 100644 --- a/src/lib/libcrypto/x509v3/v3_utl.c +++ b/src/lib/libcrypto/x509v3/v3_utl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_utl.c,v 1.34 2019/04/16 19:25:36 tb Exp $ */ | 1 | /* $OpenBSD: v3_utl.c,v 1.35 2019/04/16 19:31:07 tb 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. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -750,7 +750,8 @@ equal_email(const unsigned char *a, size_t a_len, const unsigned char *b, | |||
| 750 | while (pos > 0) { | 750 | while (pos > 0) { |
| 751 | pos--; | 751 | pos--; |
| 752 | if (a[pos] == '@' || b[pos] == '@') { | 752 | if (a[pos] == '@' || b[pos] == '@') { |
| 753 | if (!equal_nocase(a + pos, a_len - pos, b + pos, a_len - pos, 0)) | 753 | if (!equal_nocase(a + pos, a_len - pos, b + pos, |
| 754 | a_len - pos, 0)) | ||
| 754 | return 0; | 755 | return 0; |
| 755 | break; | 756 | break; |
| 756 | } | 757 | } |
| @@ -1221,7 +1222,7 @@ ipv6_from_asc(unsigned char *v6, const char *in) | |||
| 1221 | 1222 | ||
| 1222 | /* Treat the IPv6 representation as a list of values | 1223 | /* Treat the IPv6 representation as a list of values |
| 1223 | * separated by ':'. The presence of a '::' will parse | 1224 | * separated by ':'. The presence of a '::' will parse |
| 1224 | * as one, two or three zero length elements. | 1225 | * as one, two or three zero length elements. |
| 1225 | */ | 1226 | */ |
| 1226 | if (!CONF_parse_list(in, ':', 0, ipv6_cb, &v6stat)) | 1227 | if (!CONF_parse_list(in, ':', 0, ipv6_cb, &v6stat)) |
| 1227 | return 0; | 1228 | return 0; |
