From: tb Date: Tue, 26 Jan 2021 18:45:32 +0000 (+0000) Subject: zap a tab X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7f7da2dfa07df5d32ea466124b0dd8e92fe2e64a;p=openbsd zap a tab --- diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 3a69adbc27e..5cf4be74aa4 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.242 2021/01/26 18:43:41 tb Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.243 2021/01/26 18:45:32 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -460,7 +460,7 @@ SSL_set1_host(SSL *s, const char *hostname) { struct in_addr ina; struct in6_addr in6a; - + if (hostname != NULL && *hostname != '\0' && (inet_pton(AF_INET, hostname, &ina) == 1 || inet_pton(AF_INET6, hostname, &in6a) == 1))