nghttp: Fix compile error with openssl >= 1.0.2

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-06 01:40:24 +09:00
parent 1474f755cf
commit f6097ce6d0
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ struct HttpClient {
break;
}
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
SSL_get0_alpn_selected(client->ssl, &next_proto, &next_proto_len);
SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len);
#else // OPENSSL_VERSION_NUMBER < 0x10002000L
break;
#endif // OPENSSL_VERSION_NUMBER < 0x10002000L