nghttpx: Delete unused delete_bio_method

This commit is contained in:
Tatsuhiro Tsujikawa 2017-03-15 23:37:39 +09:00
parent 1ea590c364
commit feabd6f739
2 changed files with 0 additions and 8 deletions

View File

@ -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) {

View File

@ -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