I'm using libneon for url parsing in an application that also links against libssl (on the release version of 11.10). When linking my application, I get the same error as above.
As a workaround I added the following to my application:
#if defined(OPENSSL_NO_SSL2)
// backport to make neon happy with only OpenSSL 1.0.0 available
extern "C" const SSL_METHOD *
SSLv2_server_method(void)
{
// use SSL v2 and v3 even if only v2 is requested
return SSLv23_server_method();
}
#endif
I'm using libneon for url parsing in an application that also links against libssl (on the release version of 11.10). When linking my application, I get the same error as above.
As a workaround I added the following to my application:
#if defined( OPENSSL_ NO_SSL2) method( void) server_ method( );
// backport to make neon happy with only OpenSSL 1.0.0 available
extern "C" const SSL_METHOD *
SSLv2_server_
{
// use SSL v2 and v3 even if only v2 is requested
return SSLv23_
}
#endif