summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_dgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_dgram.c')
-rw-r--r--src/lib/libcrypto/bio/bss_dgram.c6
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
87static int BIO_dgram_should_retry(int s); 87static int BIO_dgram_should_retry(int s);
88 88
89static BIO_METHOD methods_dgramp = { 89static 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
115BIO_METHOD * 115const BIO_METHOD *
116BIO_s_datagram(void) 116BIO_s_datagram(void)
117{ 117{
118 return (&methods_dgramp); 118 return (&methods_dgramp);