curl-library
'session->ssl_version' now hidden
From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Thu, 05 Feb 2015 03:02:39 +0100
Date: Thu, 05 Feb 2015 03:02:39 +0100
The folks at OpenSSL have been very busy cleaning up
it's API. So much that it broken vtls/openssl.c:
vtls/openssl.c(1670) : error C2037: left of 'ssl_version' specifies
undefined struct/union 'ssl_session_st'
for the statement:
switch(session->ssl_version) {
'struct ssl_session_st' is now specified in ssl/ssl_locl.h.
Is there a function/macro for that now? Or maybe we can assume
'ssl_version' is first in 'SSL_SESSION', we can simply do:
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && 0
struct ssl_session_st {
int ssl_version;
};
#endif
...
switch(session->ssl_version) {
-- --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-02-05