Make DTLSv1_listen a first class function and change its type
authorMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2016 10:59:42 +0000 (10:59 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2016 19:12:18 +0000 (19:12 +0000)
commit3edeb622ba9b01f8d4ac7b1a08ac0f0fa8a27c67
tree625506cf851090504da4ac5514ceb5ee3be8677e
parent0dc225577c402f71b1aa3b533193ed645f4fe19b
Make DTLSv1_listen a first class function and change its type

The DTLSv1_listen function exposed details of the underlying BIO
abstraction and did not properly allow for IPv6. This commit changes the
"peer" argument to be a BIO_ADDR and makes it a first class function
(rather than a ctrl) to ensure proper type checking.

Reviewed-by: Richard Levitte <levitte@openssl.org>
CHANGES
apps/s_server.c
doc/ssl/DTLSv1_listen.pod
include/openssl/ssl.h
ssl/d1_lib.c
ssl/ssl_err.c
util/ssleay.num