summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-09-14 22:36:04 +0100
committerMatt Caswell <matt@openssl.org>2015-09-23 13:53:26 +0100
commit01b7851aa27aa144372f5484da916be042d9aa4f (patch)
tree225eeaca746baca374f0163b098b12af9ecdaf1f /include
parent1556d21850aabf31c554d3c6de2363979a965a9f (diff)
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.h2
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