aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-04 13:29:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-04 13:29:34 +0200
commit86bc654532e24bdc3a76324fc976fe3be399985b (patch)
tree25bf2c4b7d26db39ca5d949bc2edc1cffbbb2b84 /lib
parent690317aae21d2b081040dea5405708d1e2d76627 (diff)
OpenSSL: conditional check for SSL3_RT_HEADER
The symbol is fairly new. Reported-by: Kamil Dudka
Diffstat (limited to 'lib')
-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: