BIO_TYPE_DESCRIPTOR
if (bio->method->type & BIO_TYPE_DESCRIPTOR)
r = BIO_find_type(b, BIO_TYPE_DESCRIPTOR);