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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c
index 0d70daa20e..65a8f6fae4 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.44 2022/12/26 07:18:51 jmc Exp $ */ 1/* $OpenBSD: bss_dgram.c,v 1.45 2023/07/05 21:23:37 beck 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.
@@ -119,6 +119,7 @@ BIO_s_datagram(void)
119{ 119{
120 return (&methods_dgramp); 120 return (&methods_dgramp);
121} 121}
122LCRYPTO_ALIAS(BIO_s_datagram);
122 123
123BIO * 124BIO *
124BIO_new_dgram(int fd, int close_flag) 125BIO_new_dgram(int fd, int close_flag)
@@ -131,6 +132,7 @@ BIO_new_dgram(int fd, int close_flag)
131 BIO_set_fd(ret, fd, close_flag); 132 BIO_set_fd(ret, fd, close_flag);
132 return (ret); 133 return (ret);
133} 134}
135LCRYPTO_ALIAS(BIO_new_dgram);
134 136
135static int 137static int
136dgram_new(BIO *bi) 138dgram_new(BIO *bi)
@@ -656,5 +658,6 @@ BIO_dgram_non_fatal_error(int err)
656 } 658 }
657 return (0); 659 return (0);
658} 660}
661LCRYPTO_ALIAS(BIO_dgram_non_fatal_error);
659 662
660#endif 663#endif