aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-05-05 11:55:55 +0100
committerMatt Caswell <matt@openssl.org>2017-05-08 11:42:37 +0100
commitad5100bc41876a9e81b23dfa89899e640d5d1996 (patch)
tree9d443fa81882fb99aa5860c9b09f53ff8d2757a3 /include
parenteee2750bd3d25265bb44d029877434d2cc80970c (diff)
downloadopenssl-ad5100bc41876a9e81b23dfa89899e640d5d1996.tar.gz
Add support to SSL_trace() for inner content types
When using the -trace option with TLSv1.3 all records appear as "application data". This adds the ability to see the inner content type too. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3408)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ssl3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/ssl3.h b/include/openssl/ssl3.h
index 13de6b7b7b..01131c75ef 100644
--- a/include/openssl/ssl3.h
+++ b/include/openssl/ssl3.h
@@ -223,8 +223,9 @@ extern "C" {
# define TLS1_RT_CRYPTO_IV (TLS1_RT_CRYPTO | 0x7)
# define TLS1_RT_CRYPTO_FIXED_IV (TLS1_RT_CRYPTO | 0x8)
-/* Pseudo content type for SSL/TLS header info */
+/* Pseudo content types for SSL/TLS header info */
# define SSL3_RT_HEADER 0x100
+# define SSL3_RT_INNER_CONTENT_TYPE 0x101
# define SSL3_AL_WARNING 1
# define SSL3_AL_FATAL 2