diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_fd.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_fd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_fd.c b/src/lib/libcrypto/bio/bss_fd.c index b21dbd92ed..bbe08efc4e 100644 --- a/src/lib/libcrypto/bio/bss_fd.c +++ b/src/lib/libcrypto/bio/bss_fd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_fd.c,v 1.18 2015/02/12 03:54:07 jsing Exp $ */ | 1 | /* $OpenBSD: bss_fd.c,v 1.19 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 | * |
@@ -74,7 +74,7 @@ static int fd_new(BIO *h); | |||
74 | static int fd_free(BIO *data); | 74 | static int fd_free(BIO *data); |
75 | int BIO_fd_should_retry(int s); | 75 | int BIO_fd_should_retry(int s); |
76 | 76 | ||
77 | static BIO_METHOD methods_fdp = { | 77 | static const BIO_METHOD methods_fdp = { |
78 | .type = BIO_TYPE_FD, | 78 | .type = BIO_TYPE_FD, |
79 | .name = "file descriptor", | 79 | .name = "file descriptor", |
80 | .bwrite = fd_write, | 80 | .bwrite = fd_write, |
@@ -86,7 +86,7 @@ static BIO_METHOD methods_fdp = { | |||
86 | .destroy = fd_free | 86 | .destroy = fd_free |
87 | }; | 87 | }; |
88 | 88 | ||
89 | BIO_METHOD * | 89 | const BIO_METHOD * |
90 | BIO_s_fd(void) | 90 | BIO_s_fd(void) |
91 | { | 91 | { |
92 | return (&methods_fdp); | 92 | return (&methods_fdp); |