From: Matt Caswell Date: Wed, 19 Oct 2016 09:52:47 +0000 (+0100) Subject: Remove some #if 0'd out code X-Git-Tag: OpenSSL_1_1_1-pre1~3240 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=2fd0dfd9f69468b8276b0cd3a292a9b1aa24fef9 Remove some #if 0'd out code It was just a sanity check and isn't needed Reviewed-by: Richard Levitte --- 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); }