so my suggestion is to replace the current conditional-compilation directives, with:

#ifndef TLS_MAX_VERSION
eDest.Say(" warning: TLS is not available, falling back to SSL23 (deprecated).");
meth = SSLv23_method();
#elif TLS_MAX_VERSION == TLS1_2_VERSION
meth = TLSv1_2_method();
eDest.Say(" Using TLS 1.2");
#elif TLS_MAX_VERSION == TLS1_1_VERSION
eDest.Say(" Using deprecated TLS version 1.1.");
meth = TLSv1_1_method();
#elif TLS_MAX_VERSION == TLS1_VERSION
eDest.Say(" Using deprecated TLS version 1.");
meth = TLSv1_method();
#endif


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1