Fix s_server DTLSv1_listen issues
authorMatt Caswell <matt@openssl.org>
Wed, 23 Sep 2015 09:02:18 +0000 (10:02 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 23 Sep 2015 12:53:27 +0000 (13:53 +0100)
commitd8249e99b9477ca059d5ed016fa49389bc0eb9e9
tree2d955accffe7180865377ce757f7e78b365ccc91
parentca7256fbd947870101220735dc375862ec7eb9b1
Fix s_server DTLSv1_listen issues

Use sockaddr_storage not sockaddr for the client IP address to allow for
IPv6.
Also fixed a section of code which was conditional on OPENSSL_NO_DTLS1
which should not have been.

Reviewed-by: Andy Polyakov <appro@openssl.org>
apps/s_server.c