Fix build with libssl10 --- ./src/connection.cc +++ ./src/connection.cc @@ -307,7 +307,7 @@ SSL_Connection::SSL_Connection(Session *s) : gets_len(0) SSLeay_add_ssl_algorithms(); /* construct the context for secure connections */ - method = SSLv23_client_method(); + method = (SSL_METHOD*) SSLv23_client_method(); context = SSL_CTX_new(method); if (!context)