If the QUIC oject receives a ctrl it does not recognise, the chances are
it is intended for the underlying SSL object - so we forward unknown ctrls
there.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)
qc->ssl_mode &= ~(uint32_t)larg;
return qc->ssl_mode;
default:
- return 0;
+ /* Probably a TLS related ctrl. Defer to our internal SSL object */
+ return SSL_ctrl(qc->tls, cmd, larg, parg);
}
}