diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_acpt.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_acpt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index 20508a7d5e..b270199da1 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/lib/libcrypto/bio/bss_acpt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_acpt.c,v 1.27 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: bss_acpt.c,v 1.28 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 | * |
@@ -100,7 +100,7 @@ static void BIO_ACCEPT_free(BIO_ACCEPT *a); | |||
100 | #define ACPT_S_GET_ACCEPT_SOCKET 2 | 100 | #define ACPT_S_GET_ACCEPT_SOCKET 2 |
101 | #define ACPT_S_OK 3 | 101 | #define ACPT_S_OK 3 |
102 | 102 | ||
103 | static BIO_METHOD methods_acceptp = { | 103 | static const BIO_METHOD methods_acceptp = { |
104 | .type = BIO_TYPE_ACCEPT, | 104 | .type = BIO_TYPE_ACCEPT, |
105 | .name = "socket accept", | 105 | .name = "socket accept", |
106 | .bwrite = acpt_write, | 106 | .bwrite = acpt_write, |
@@ -111,7 +111,7 @@ static BIO_METHOD methods_acceptp = { | |||
111 | .destroy = acpt_free | 111 | .destroy = acpt_free |
112 | }; | 112 | }; |
113 | 113 | ||
114 | BIO_METHOD * | 114 | const BIO_METHOD * |
115 | BIO_s_accept(void) | 115 | BIO_s_accept(void) |
116 | { | 116 | { |
117 | return (&methods_acceptp); | 117 | return (&methods_acceptp); |