Skip to content
Commit 6db2239c authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

New extension callback features.



Support separate parse and add callback arguments.
Add new callback so an application can free extension data.
Change return value for send functions so < 0 is an error 0
omits extension and > 0 includes it. This is more consistent
with the behaviour of other functions in OpenSSL.

Modify parse_cb handling so <= 0 is an error.

Make SSL_CTX_set_custom_cli_ext and SSL_CTX_set_custom_cli_ext argument
order consistent.

NOTE: these changes WILL break existing code.

Remove (now inaccurate) in line documentation.
Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
(cherry picked from commit 33f653ad)
parent 423ceb83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment