set_callback takes a void*, not a function pointer. Strictly speaking that's not portable. And there are other some other issues. See bio/bio_conn.c the #if0 section, and and the FIXME comment in ssl_callback_ctrl in ssl/ssl_bio.c
There is also internal commentary at https://gitlab.openssl.org/openssl/openssl/merge_requests/245 -- Rich Salz, OpenSSL dev team; rs...@openssl.org _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev