Add BIO_CTRL_DGRAM_SET_PEEK_MODE
authorMatt Caswell <matt@openssl.org>
Mon, 14 Sep 2015 21:36:04 +0000 (22:36 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 23 Sep 2015 12:53:26 +0000 (13:53 +0100)
commit01b7851aa27aa144372f5484da916be042d9aa4f
tree225eeaca746baca374f0163b098b12af9ecdaf1f
parent1556d21850aabf31c554d3c6de2363979a965a9f
Add BIO_CTRL_DGRAM_SET_PEEK_MODE

Add the ability to peek at a message from the DTLS read BIO. This is needed
for the DTLSv1_listen rewrite.

Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/bio/bss_dgram.c
include/openssl/bio.h