Add the ability to add a custom extension on an SSL object
authorMatt Caswell <matt@openssl.org>
Mon, 14 Nov 2022 15:29:38 +0000 (15:29 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Jan 2023 17:16:29 +0000 (17:16 +0000)
commitf6da3bbfb7342f3931d36e0c67bd9f79169fac2b
treed03268d4d107a7961d2dfee261cd0a8b4b375bfb
parent3f9175c7a46b13a3528d9b5776030a78eb1f9454
Add the ability to add a custom extension on an SSL object

Previously we could only do this at the SSL_CTX level. We add the ability
to also do this on an SSL - but only for internal code.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19748)
ssl/ssl_local.h
ssl/statem/extensions_cust.c