From 2fd0dfd9f69468b8276b0cd3a292a9b1aa24fef9 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 19 Oct 2016 10:52:47 +0100 Subject: [PATCH] Remove some #if 0'd out code It was just a sanity check and isn't needed Reviewed-by: Richard Levitte --- test/ossl_shim/async_bio.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/ossl_shim/async_bio.cc b/test/ossl_shim/async_bio.cc index b905a0e697..03d9ed429c 100644 --- a/test/ossl_shim/async_bio.cc +++ b/test/ossl_shim/async_bio.cc @@ -31,15 +31,6 @@ struct AsyncBio { }; AsyncBio *GetData(BIO *bio) { - /* - * TODO: Missing accessor? This probably needs a BIO_get_method() in OpenSSL - * For now skip this check - */ -#if 0 - if (bio->method != &g_async_bio_method) { - return NULL; - } -#endif return (AsyncBio *)BIO_get_data(bio); } -- 2.25.1