summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-07 23:42:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-07 23:42:33 +0000
commit36b5bb6f2f944d6fb9a458da76ffdfa9154c03c2 (patch)
tree4f3e5dac0f3bca1382a3221febeeb60a0e251b41 /ssl/ssl3.h
parent30c278aa6bb614f4cfc5a26c7cbe66ad090f6896 (diff)
send out the raw SSL/TLS headers to the msg_callback and display them in SSL_trace
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r--ssl/ssl3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index b0b6539d5e..d2a5208824 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -338,6 +338,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 */
+#define SSL3_RT_HEADER 0x100
+
#define SSL3_AL_WARNING 1
#define SSL3_AL_FATAL 2