summaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commit8a90df343edb194920b7a01c8b5e47d8b6e952c5 (patch)
tree052a3bab9897e1f575b28b8b35143533378c6956 /include/openssl
parent8b7be3aa7e90d85441f5012624cece4dca33291e (diff)
downloadopenssl-new-8a90df343edb194920b7a01c8b5e47d8b6e952c5.tar.gz
QUIC DISPATCH/APL: Add SSL_set_incoming_stream_reject_policy (unwired)
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/ssl.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in
index c5ab105816..d29ad85ece 100644
--- a/include/openssl/ssl.h.in
+++ b/include/openssl/ssl.h.in
@@ -2288,6 +2288,11 @@ __owur int SSL_attach_stream(SSL *conn, SSL *stream);
#define SSL_STREAM_FLAG_UNI (1U << 0)
__owur SSL *SSL_new_stream(SSL *s, uint64_t flags);
+#define SSL_INCOMING_STREAM_REJECT_POLICY_AUTO 0
+#define SSL_INCOMING_STREAM_REJECT_POLICY_ACCEPT 1
+#define SSL_INCOMING_STREAM_REJECT_POLICY_REJECT 2
+__owur int SSL_set_incoming_stream_reject_policy(SSL *s, int policy, uint64_t aec);
+
# ifndef OPENSSL_NO_QUIC
__owur int SSL_inject_net_dgram(SSL *s, const unsigned char *buf,
size_t buf_len,