1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

OpenSSL: conditional check for SSL3_RT_HEADER

The symbol is fairly new.

Reported-by: Kamil Dudka
This commit is contained in:
Daniel Stenberg 2015-05-04 13:29:34 +02:00
parent 690317aae2
commit 86bc654532

View File

@ -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: