QUIC APL: Report that we do not support SSL_clear correctly

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21905)
This commit is contained in:
Hugo Landau 2023-08-30 16:18:50 +01:00
parent 0c125b611d
commit b139f7a26d

View File

@ -567,8 +567,8 @@ int ossl_quic_clear(SSL *s)
if (!expect_quic(s, &ctx))
return 0;
/* TODO(QUIC FUTURE): Currently a no-op. */
return 1;
ERR_raise(ERR_LIB_SSL, ERR_R_UNSUPPORTED);
return 0;
}
int ossl_quic_conn_set_override_now_cb(SSL *s,