]> git.ipfire.org Git - thirdparty/openssl.git/commit
QUIC APL: Make SSL_get_error per-stream, error raising refactor
authorHugo Landau <hlandau@openssl.org>
Fri, 28 Apr 2023 15:56:34 +0000 (16:56 +0100)
committerHugo Landau <hlandau@openssl.org>
Wed, 24 May 2023 09:34:47 +0000 (10:34 +0100)
commitfaa3a180efcf17c8fc7db354367d2b03d89f3042
treef3171a41c29f2a2c8f0d0ee38052ed90ecf3ece2
parent0554f723c1b13f66e56d892b332ccd36aee498ad
QUIC APL: Make SSL_get_error per-stream, error raising refactor

This refactors the error raising code in the APL to automatically raise
errors in the correct SSL object, either a QCSO or QSSO depending on the
circumstances. The QCTX structure's responsibilities are expanded to
facilitate this. This further drives towards a unified mechanism for
generic dispatch precondition checking and error raising.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)
ssl/quic/quic_impl.c
ssl/quic/quic_local.h