Remove some #if 0'd out code

It was only a sanity check anyway, so isn't needed

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell 2016-10-19 11:33:59 +01:00
parent 0abcaddfcb
commit fc237de7ff

View 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);
}