This feedback is very useful. > 1) There is no accessor for the "num" field in the BIO struct. > This is typically used to store a file descriptor or similar value. As can be > seen > by its explicit access in BIO_dup_chain(), there may be legitimate reasons to > get at its value, even if you are not writing your own new BIO > implementation.
Can you explain when/how/why you need it? > 2) The API documentation for BIO_meth_new() says that "type" should be a > unique integer, but provides no way to ensure this is true. That sounds like a bug we need to fix. Perhaps something like int BIO_meth_new_index([int flags?]) ? > 3) I'm not sure the conversion of BIO_METHOD to an opaque struct is really a > good idea. Did you see BIO_meth_set_write etc ? -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev