From: Hugo Landau Date: Wed, 30 Aug 2023 15:18:50 +0000 (+0100) Subject: QUIC APL: Report that we do not support SSL_clear correctly X-Git-Tag: openssl-3.2.0-alpha1~50 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=b139f7a26d0158e42b0f4b9e7364111a8fd17fa2 QUIC APL: Report that we do not support SSL_clear correctly Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21905) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index c3900580f7..7dfe25c916 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -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,