From: Daniel Stenberg Date: Mon, 4 May 2015 11:29:34 +0000 (+0200) Subject: OpenSSL: conditional check for SSL3_RT_HEADER X-Git-Tag: curl-7_43_0~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86bc654532e24bdc3a76324fc976fe3be399985b;p=curl OpenSSL: conditional check for SSL3_RT_HEADER The symbol is fairly new. Reported-by: Kamil Dudka --- 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: