summaryrefslogtreecommitdiffstats
path: root/test/ossl_shim/packeted_bio.cc
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-19 11:33:59 +0100
committerMatt Caswell <matt@openssl.org>2016-11-04 10:38:54 +0000
commitfc237de7ff4886c0d58300051ea4325e10b6943f (patch)
tree0c6eb02004c5194a82f18dd3992a8960290f18a5 /test/ossl_shim/packeted_bio.cc
parent0abcaddfcbe643e4f57c873e3b890d785bcb7357 (diff)
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>
Diffstat (limited to 'test/ossl_shim/packeted_bio.cc')
-rw-r--r--test/ossl_shim/packeted_bio.cc6
1 files changed, 0 insertions, 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);
}