aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vtls/openssl.c')
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index fa3e227b0..16053a768 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -1515,8 +1515,10 @@ static const char *ssl_msg_type(int ssl_ver, int msg)
static const char *tls_rt_type(int type)
{
switch(type) {
+#ifdef SSL3_RT_HEADER
case SSL3_RT_HEADER:
return "TLS header";
+#endif
case SSL3_RT_CHANGE_CIPHER_SPEC:
return "TLS change cipher";
case SSL3_RT_ALERT: