diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bio/bss_conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c index e55fc2d163..7f50936677 100644 --- a/src/lib/libcrypto/bio/bss_conn.c +++ b/src/lib/libcrypto/bio/bss_conn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_conn.c,v 1.31 2014/11/21 18:15:40 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_conn.c,v 1.32 2014/11/26 05:37:26 bcook 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 | * |
@@ -220,7 +220,7 @@ conn_state(BIO *b, BIO_CONNECT *c) | |||
220 | 220 | ||
221 | #if defined(SO_KEEPALIVE) | 221 | #if defined(SO_KEEPALIVE) |
222 | i = 1; | 222 | i = 1; |
223 | i = setsockopt(b->num, SOL_SOCKET, SO_KEEPALIVE,(char *)&i, sizeof(i)); | 223 | i = setsockopt(b->num, SOL_SOCKET, SO_KEEPALIVE, &i, sizeof(i)); |
224 | if (i < 0) { | 224 | if (i < 0) { |
225 | SYSerr(SYS_F_SOCKET, errno); | 225 | SYSerr(SYS_F_SOCKET, errno); |
226 | ERR_asprintf_error_data("host=%s:%s", | 226 | ERR_asprintf_error_data("host=%s:%s", |