summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2022-08-21 19:32:38 +0000
committerjsing <>2022-08-21 19:32:38 +0000
commit3c351e711595523526ff652c526430c9865244a9 (patch)
treef5484c592e752999edfb43ac5fd4dba1a5e88914 /src/lib/libssl/s3_lib.c
parent14c1d07ebeba51e7c5d52a7a218214dcd39548d4 (diff)
downloadopenbsd-3c351e711595523526ff652c526430c9865244a9.tar.gz
openbsd-3c351e711595523526ff652c526430c9865244a9.tar.bz2
openbsd-3c351e711595523526ff652c526430c9865244a9.zip
Provide SSL_QUIC_METHOD.
This provides SSL_QUIC_METHOD (aka ssl_quic_method_st), which allows for QUIC callback hooks to be passed to an SSL_CTX or SSL. This is largely ported/adapted from BoringSSL. It is worth noting that this struct is not opaque and the original interface exposed by BoringSSL differs to the one they now use. The original interface was copied by quictls and it appears that this API will not be updated to match BoringSSL. To make things even more challenging, at least one consumer does not use named initialisers, making code completely dependent on the order in which the function pointers are defined as struct members. In order to try to support both variants, the set_read_secret/set_write_secret functions are included, however they have to go at the end. ok tb@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions