mirror of
https://github.com/curl/curl.git
synced 2026-04-27 03:02:10 +03:00
OpenSSL: conditional check for SSL3_RT_HEADER
The symbol is fairly new. Reported-by: Kamil Dudka
This commit is contained in:
parent
690317aae2
commit
86bc654532
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue