diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_dgram.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_dgram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c index a9657402ce..794b6d1b56 100644 --- a/src/lib/libcrypto/bio/bss_dgram.c +++ b/src/lib/libcrypto/bio/bss_dgram.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_dgram.c,v 1.41 2015/07/20 23:15:28 doug Exp $ */ | 1 | /* $OpenBSD: bss_dgram.c,v 1.42 2018/05/12 17:47:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -86,7 +86,7 @@ static int dgram_clear(BIO *bio); | |||
86 | 86 | ||
87 | static int BIO_dgram_should_retry(int s); | 87 | static int BIO_dgram_should_retry(int s); |
88 | 88 | ||
89 | static BIO_METHOD methods_dgramp = { | 89 | static const BIO_METHOD methods_dgramp = { |
90 | .type = BIO_TYPE_DGRAM, | 90 | .type = BIO_TYPE_DGRAM, |
91 | .name = "datagram socket", | 91 | .name = "datagram socket", |
92 | .bwrite = dgram_write, | 92 | .bwrite = dgram_write, |
@@ -112,7 +112,7 @@ typedef struct bio_dgram_data_st { | |||
112 | } bio_dgram_data; | 112 | } bio_dgram_data; |
113 | 113 | ||
114 | 114 | ||
115 | BIO_METHOD * | 115 | const BIO_METHOD * |
116 | BIO_s_datagram(void) | 116 | BIO_s_datagram(void) |
117 | { | 117 | { |
118 | return (&methods_dgramp); | 118 | return (&methods_dgramp); |