summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-01-26 18:45:32 +0000
committertb <>2021-01-26 18:45:32 +0000
commit4d28169829afe1823fddd681e61da9286277b1c7 (patch)
treeeffde916cba346c6e72948f49a2b33c87f769b8a /src
parent3e18624e953b3e767a43a5915cdebcbcc1d48c7a (diff)
downloadopenbsd-4d28169829afe1823fddd681e61da9286277b1c7.tar.gz
openbsd-4d28169829afe1823fddd681e61da9286277b1c7.tar.bz2
openbsd-4d28169829afe1823fddd681e61da9286277b1c7.zip
zap a tab
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 3a69adbc27..5cf4be74aa 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.242 2021/01/26 18:43:41 tb Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.243 2021/01/26 18:45:32 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 *
@@ -460,7 +460,7 @@ SSL_set1_host(SSL *s, const char *hostname)
460{ 460{
461 struct in_addr ina; 461 struct in_addr ina;
462 struct in6_addr in6a; 462 struct in6_addr in6a;
463 463
464 if (hostname != NULL && *hostname != '\0' && 464 if (hostname != NULL && *hostname != '\0' &&
465 (inet_pton(AF_INET, hostname, &ina) == 1 || 465 (inet_pton(AF_INET, hostname, &ina) == 1 ||
466 inet_pton(AF_INET6, hostname, &in6a) == 1)) 466 inet_pton(AF_INET6, hostname, &in6a) == 1))