]> git.ipfire.org Git - thirdparty/openssl.git/commit
Check record layer callbacks are non-null
authorMatt Caswell <matt@openssl.org>
Tue, 9 Aug 2022 14:52:27 +0000 (15:52 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 18 Aug 2022 15:38:14 +0000 (16:38 +0100)
commitb85ebc4b279ff0abe81c3a64eafc4f3c6c00605e
treeb4616e0cc2d234c27e081e5523e75154ea265327
parent1704961cf085a64b0e104bd0c9cb81188f061698
Check record layer callbacks are non-null

The current libssl code always ensures that the callbacks are non-null.
However, the record layer itself wasn't checkthing this. We ensure it does.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18132)
ssl/record/methods/dtls_meth.c
ssl/record/methods/tls_common.c