diff options
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 4 |
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)) |