Commit feabd6f7 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Delete unused delete_bio_method

parent 1ea590c3
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment