summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_conn.c')
-rw-r--r--src/lib/libcrypto/bio/bss_conn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c
index 555273882c..575d163371 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.33 2017/01/29 17:49:22 beck Exp $ */ 1/* $OpenBSD: bss_conn.c,v 1.34 2018/05/01 13:29:09 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 *
@@ -106,7 +106,7 @@ static void conn_close_socket(BIO *data);
106BIO_CONNECT *BIO_CONNECT_new(void); 106BIO_CONNECT *BIO_CONNECT_new(void);
107void BIO_CONNECT_free(BIO_CONNECT *a); 107void BIO_CONNECT_free(BIO_CONNECT *a);
108 108
109static BIO_METHOD methods_connectp = { 109static const BIO_METHOD methods_connectp = {
110 .type = BIO_TYPE_CONNECT, 110 .type = BIO_TYPE_CONNECT,
111 .name = "socket connect", 111 .name = "socket connect",
112 .bwrite = conn_write, 112 .bwrite = conn_write,
@@ -319,7 +319,7 @@ BIO_CONNECT_free(BIO_CONNECT *a)
319 free(a); 319 free(a);
320} 320}
321 321
322BIO_METHOD * 322const BIO_METHOD *
323BIO_s_connect(void) 323BIO_s_connect(void)
324{ 324{
325 return (&methods_connectp); 325 return (&methods_connectp);