summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-05-08 19:52:45 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:15 +0100
commit83df44ae53c3c3bb1e79785af38ab52bb4f865cb (patch)
treebd14faf149ba8be864620b4d80bb9f9c776d0a13 /include
parentbb9b8a333ffaf998e60016819ee1e8c2da58f0fd (diff)
downloadopenssl-new-83df44ae53c3c3bb1e79785af38ab52bb4f865cb.tar.gz
QUIC MSST: Rename SSL_set_incoming_stream_reject_policy
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')
-rw-r--r--include/internal/quic_ssl.h4
-rw-r--r--include/openssl/ssl.h.in8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/internal/quic_ssl.h b/include/internal/quic_ssl.h
index 050bfe9d24..054ec30280 100644
--- a/include/internal/quic_ssl.h
+++ b/include/internal/quic_ssl.h
@@ -72,8 +72,8 @@ __owur uint64_t ossl_quic_get_stream_id(SSL *s);
__owur int ossl_quic_set_default_stream_mode(SSL *s, uint32_t mode);
__owur SSL *ossl_quic_detach_stream(SSL *s);
__owur int ossl_quic_attach_stream(SSL *conn, SSL *stream);
-__owur int ossl_quic_set_incoming_stream_reject_policy(SSL *s, int policy,
- uint64_t aec);
+__owur int ossl_quic_set_incoming_stream_policy(SSL *s, int policy,
+ uint64_t aec);
__owur SSL *ossl_quic_accept_stream(SSL *s, uint64_t flags);
__owur size_t ossl_quic_get_accept_stream_queue_len(SSL *s);
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in
index 7e574f37b7..4d28522bf1 100644
--- a/include/openssl/ssl.h.in
+++ b/include/openssl/ssl.h.in
@@ -2288,10 +2288,10 @@ __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);
+#define SSL_INCOMING_STREAM_POLICY_AUTO 0
+#define SSL_INCOMING_STREAM_POLICY_ACCEPT 1
+#define SSL_INCOMING_STREAM_POLICY_REJECT 2
+__owur int SSL_set_incoming_stream_policy(SSL *s, int policy, uint64_t aec);
#define SSL_ACCEPT_STREAM_NO_BLOCK (1U << 0)
__owur SSL *SSL_accept_stream(SSL *s, uint64_t flags);