summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authortb <>2019-04-16 19:31:07 +0000
committertb <>2019-04-16 19:31:07 +0000
commitc0ca838b4ad06cbf9fd6cf44511ec2e8a731d0ba (patch)
tree48095a71c1ee1a1fdccb25d7f438b99db25a07a9 /src/lib/libcrypto
parent7d5f043194928283aa14f8a0a4f8e428b8921595 (diff)
downloadopenbsd-c0ca838b4ad06cbf9fd6cf44511ec2e8a731d0ba.tar.gz
openbsd-c0ca838b4ad06cbf9fd6cf44511ec2e8a731d0ba.tar.bz2
openbsd-c0ca838b4ad06cbf9fd6cf44511ec2e8a731d0ba.zip
wrap an overlong line and kill a space before a tab
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/x509v3/v3_utl.c7
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;