ossl_statem_export_allowed
__owur int ossl_statem_export_allowed(SSL_CONNECTION *s);
if (ctx == NULL || md == NULL || !ossl_statem_export_allowed(s))