From fc237de7ff4886c0d58300051ea4325e10b6943f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 19 Oct 2016 11:33:59 +0100 Subject: [PATCH] Remove some #if 0'd out code It was only a sanity check anyway, so isn't needed Reviewed-by: Richard Levitte --- test/ossl_shim/packeted_bio.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/ossl_shim/packeted_bio.cc b/test/ossl_shim/packeted_bio.cc index 23fc47a33b..74d8ab51a0 100644 --- a/test/ossl_shim/packeted_bio.cc +++ b/test/ossl_shim/packeted_bio.cc @@ -58,12 +58,6 @@ struct PacketedBio { }; PacketedBio *GetData(BIO *bio) { -#if 0 - /* Missing accessor BIO_get_method()?? Disabled for now */ - if (bio->method != &g_packeted_bio_method) { - return NULL; - } -#endif return (PacketedBio *)BIO_get_data(bio); } -- 2.25.1