summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 03e30441e0..14fb094e71 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.221 2022/07/17 14:49:01 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.222 2022/07/24 14:16:29 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1577,6 +1577,17 @@ void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
1577int SSL_CTX_get_security_level(const SSL_CTX *ctx); 1577int SSL_CTX_get_security_level(const SSL_CTX *ctx);
1578 1578
1579#if defined(LIBRESSL_HAS_QUIC) || defined(LIBRESSL_INTERNAL) 1579#if defined(LIBRESSL_HAS_QUIC) || defined(LIBRESSL_INTERNAL)
1580/*
1581 * ssl_encryption_level_t specifies the QUIC encryption level used to transmit
1582 * handshake messages.
1583 */
1584typedef enum ssl_encryption_level_t {
1585 ssl_encryption_initial = 0,
1586 ssl_encryption_early_data,
1587 ssl_encryption_handshake,
1588 ssl_encryption_application,
1589} OSSL_ENCRYPTION_LEVEL;
1590
1580int SSL_is_quic(const SSL *ssl); 1591int SSL_is_quic(const SSL *ssl);
1581 1592
1582/* 1593/*