diff options
author | 2021-01-26 18:45:32 +0000 | |
---|---|---|
committer | 2021-01-26 18:45:32 +0000 | |
commit | 7f7da2dfa07df5d32ea466124b0dd8e92fe2e64a (patch) | |
tree | 51232c71b7a69f546e562ac406466644150a832e /lib/libssl/ssl_lib.c | |
parent | Prepare to provide SSL_set_hostflags() (diff) | |
download | wireguard-openbsd-7f7da2dfa07df5d32ea466124b0dd8e92fe2e64a.tar.xz wireguard-openbsd-7f7da2dfa07df5d32ea466124b0dd8e92fe2e64a.zip |
zap a tab
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r-- | lib/libssl/ssl_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |