diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-16 15:18:12 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-07-05 09:02:26 +1000 |
commit | 43788fb3ac7221a699e56c38c1e9b8b4f8de4071 (patch) | |
tree | 613d8331f801bec3faa794f10792d3a9ff9f1db6 /ssl/ssl_local.h | |
parent | 97beb77f319f119957235233396627bb22283da0 (diff) | |
download | openssl-43788fb3ac7221a699e56c38c1e9b8b4f8de4071.tar.gz |
QUIC SSL Behaviours: Allow detection of an SSL connection used for QUIC handshake
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20061)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 1c01377e14..890c757c96 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -311,6 +311,8 @@ # define SSL_READ_ETM(s) (s->s3.flags & TLS1_FLAGS_ENCRYPT_THEN_MAC_READ) # define SSL_WRITE_ETM(s) (s->s3.flags & TLS1_FLAGS_ENCRYPT_THEN_MAC_WRITE) +# define SSL_IS_QUIC_HANDSHAKE(s) (((s)->s3.flags & TLS1_FLAGS_QUIC) != 0) + /* alert_dispatch values */ /* No alert pending */ |