nghttpx: Delete unused delete_bio_method
This commit is contained in:
parent
1ea590c364
commit
feabd6f739
|
@ -288,8 +288,6 @@ BIO_METHOD *create_bio_method() {
|
|||
return meth;
|
||||
}
|
||||
|
||||
void delete_bio_method(BIO_METHOD *bio_method) { BIO_meth_free(bio_method); }
|
||||
|
||||
#else // !OPENSSL_1_1_API
|
||||
|
||||
BIO_METHOD *create_bio_method() {
|
||||
|
@ -302,8 +300,6 @@ BIO_METHOD *create_bio_method() {
|
|||
return meth;
|
||||
}
|
||||
|
||||
void delete_bio_method(BIO_METHOD *bio_method) {}
|
||||
|
||||
#endif // !OPENSSL_1_1_API
|
||||
|
||||
void Connection::set_ssl(SSL *ssl) {
|
||||
|
|
|
@ -164,10 +164,6 @@ struct Connection {
|
|||
// Creates BIO_method shared by all SSL objects.
|
||||
BIO_METHOD *create_bio_method();
|
||||
|
||||
// Deletes given |bio_method|. If nghttp2 is built with OpenSSL <
|
||||
// 1.1.0, this function is noop.
|
||||
void delete_bio_method(BIO_METHOD *bio_method);
|
||||
|
||||
} // namespace shrpx
|
||||
|
||||
#endif // SHRPX_CONNECTION_H
|
||||
|
|
Loading…
Reference in New Issue