summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-30 16:18:50 +0100
committerHugo Landau <hlandau@openssl.org>2023-09-01 14:02:54 +0100
commitb139f7a26d0158e42b0f4b9e7364111a8fd17fa2 (patch)
tree5635d3413999eafd9d89cb2e461007ba4fd41d8a /ssl
parent0c125b611d55b2d3a79a977614431745f149afbe (diff)
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)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_impl.c4
1 files changed, 2 insertions, 2 deletions
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,