summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 20:30:53 +0200
committerHugo Landau <hlandau@openssl.org>2023-05-12 15:46:03 +0200
commitf8636c7e85229bf780da7cf61c234695952f8cad (patch)
tree3b4804ddf353847a127f7e3fea2b78af37dc469b /ssl/ssl_local.h
parentQUIC Dispatch: Enhance SSL object unwrapping functions (core) (diff)
downloadopenssl-f8636c7e85229bf780da7cf61c234695952f8cad.tar.xz
openssl-f8636c7e85229bf780da7cf61c234695952f8cad.zip
QUIC Dispatch: Introduce the QUIC_XSO object
The QUIC_XSO (external stream object) is to a QUIC stream what a QUIC_CONNECTION is to a QUIC connection. Both are SSL objects. The QUIC_CONNECTION type is the internal representation of a QUIC connection SSL object (QCSO) and the QUIC_XSO type is the internal representation of a QUIC stream SSL object (QSSO) type. The name QUIC_XSO has been chosen to be distinct from the existing QUIC_STREAM type which is our existing internal stream type. QUIC_XSO is to a QUIC_STREAM what QUIC_CONNECTION is to a QUIC_CHANNEL; in other words, QUIC_CONNECTION and QUIC_XSO objects form part of the API personality layer, whereas QUIC_CHANNEL and QUIC_STREAM objects form part of the QUIC core and are distinct from the API personality layer. 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 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 044cbf5bf4..485b18fb21 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -1191,7 +1191,7 @@ typedef struct cert_pkey_st CERT_PKEY;
#define SSL_TYPE_SSL_CONNECTION 0
#define SSL_TYPE_QUIC_CONNECTION 1
-#define SSL_TYPE_QUIC_STREAM 2
+#define SSL_TYPE_QUIC_XSO 2
struct ssl_st {
int type;