Remove some #if 0'd out code
authorMatt Caswell <matt@openssl.org>
Wed, 19 Oct 2016 10:33:59 +0000 (11:33 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 4 Nov 2016 10:38:54 +0000 (10:38 +0000)
It was only a sanity check anyway, so isn't needed

Reviewed-by: Richard Levitte <levitte@openssl.org>
test/ossl_shim/packeted_bio.cc

index 23fc47a33bc43bed07ac302d2c1269ed368e594b..74d8ab51a09eb708eaf1c14df633f5c25299cfaa 100644 (file)
@@ -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);
 }