diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_sock.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_sock.c b/src/lib/libcrypto/bio/bss_sock.c index dd470eb65e..9c650a8041 100644 --- a/src/lib/libcrypto/bio/bss_sock.c +++ b/src/lib/libcrypto/bio/bss_sock.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_sock.c,v 1.23 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: bss_sock.c,v 1.24 2018/05/01 13:29:10 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 | * |
| @@ -73,7 +73,7 @@ static int sock_new(BIO *h); | |||
| 73 | static int sock_free(BIO *data); | 73 | static int sock_free(BIO *data); |
| 74 | int BIO_sock_should_retry(int s); | 74 | int BIO_sock_should_retry(int s); |
| 75 | 75 | ||
| 76 | static BIO_METHOD methods_sockp = { | 76 | static const BIO_METHOD methods_sockp = { |
| 77 | .type = BIO_TYPE_SOCKET, | 77 | .type = BIO_TYPE_SOCKET, |
| 78 | .name = "socket", | 78 | .name = "socket", |
| 79 | .bwrite = sock_write, | 79 | .bwrite = sock_write, |
| @@ -84,7 +84,7 @@ static BIO_METHOD methods_sockp = { | |||
| 84 | .destroy = sock_free | 84 | .destroy = sock_free |
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | BIO_METHOD * | 87 | const BIO_METHOD * |
| 88 | BIO_s_socket(void) | 88 | BIO_s_socket(void) |
| 89 | { | 89 | { |
| 90 | return (&methods_sockp); | 90 | return (&methods_sockp); |
