summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-08-16 18:16:26 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-08-28 17:06:53 +0100
commit33f653adf3bff5b0795e22de1f54b7c5472252d0 (patch)
tree98fce19564c991a56c371a4a6644c26d8c3e6a8f /apps
parentde2a9e38f39eacc2e052d694f5b5fa5b7e734abc (diff)
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: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 6a377743a1..e4007c2905 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1363,7 +1363,7 @@ bad:
{
SSL_CTX_set_custom_cli_ext(ctx,
serverinfo_types[i],
- NULL,
+ NULL, NULL, NULL,
serverinfo_cli_cb,
NULL);
}