nghttp: Fix compile error with openssl >= 1.0.2
This commit is contained in:
parent
1474f755cf
commit
f6097ce6d0
|
@ -959,7 +959,7 @@ struct HttpClient {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
#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
|
#else // OPENSSL_VERSION_NUMBER < 0x10002000L
|
||||||
break;
|
break;
|
||||||
#endif // OPENSSL_VERSION_NUMBER < 0x10002000L
|
#endif // OPENSSL_VERSION_NUMBER < 0x10002000L
|
||||||
|
|
Loading…
Reference in New Issue