From 86bc654532e24bdc3a76324fc976fe3be399985b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 May 2015 13:29:34 +0200 Subject: OpenSSL: conditional check for SSL3_RT_HEADER The symbol is fairly new. Reported-by: Kamil Dudka --- lib/vtls/openssl.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3