diff options
author | Matt Caswell <matt@openssl.org> | 2015-09-14 23:36:04 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-09-23 14:53:26 +0200 |
commit | 01b7851aa27aa144372f5484da916be042d9aa4f (patch) | |
tree | 225eeaca746baca374f0163b098b12af9ecdaf1f /include | |
parent | Fix the rehash test on Windows (diff) | |
download | openssl-01b7851aa27aa144372f5484da916be042d9aa4f.tar.xz openssl-01b7851aa27aa144372f5484da916be042d9aa4f.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 2da93bdf0a..75d052fdab 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -178,6 +178,8 @@ extern "C" { # define BIO_CTRL_DGRAM_GET_MTU_OVERHEAD 49 +# define BIO_CTRL_DGRAM_SET_PEEK_MODE 50 + # ifndef OPENSSL_NO_SCTP /* SCTP stuff */ # define BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE 50 |