summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls_client.c')
-rw-r--r--src/lib/libtls/tls_client.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_client.c b/src/lib/libtls/tls_client.c
index 047831e59f..cea01d17fe 100644
--- a/src/lib/libtls/tls_client.c
+++ b/src/lib/libtls/tls_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_client.c,v 1.28 2015/09/12 19:54:31 jsing Exp $ */ 1/* $OpenBSD: tls_client.c,v 1.29 2015/09/29 10:17:04 deraadt Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -166,7 +166,10 @@ int
166tls_connect_fds(struct tls *ctx, int fd_read, int fd_write, 166tls_connect_fds(struct tls *ctx, int fd_read, int fd_write,
167 const char *servername) 167 const char *servername)
168{ 168{
169 union { struct in_addr ip4; struct in6_addr ip6; } addrbuf; 169 union {
170 struct in_addr ip4;
171 struct in6_addr ip6;
172 } addrbuf;
170 int rv = -1; 173 int rv = -1;
171 174
172 if ((ctx->flags & TLS_CLIENT) == 0) { 175 if ((ctx->flags & TLS_CLIENT) == 0) {