diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-08-14 14:25:50 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-08-28 18:06:53 +0200 |
commit | de2a9e38f39eacc2e052d694f5b5fa5b7e734abc (patch) | |
tree | ae5746a57acbabfd42d840c929c0a9d642fadc43 /apps | |
parent | Remove serverinfo checks. (diff) | |
download | openssl-de2a9e38f39eacc2e052d694f5b5fa5b7e734abc.tar.xz openssl-de2a9e38f39eacc2e052d694f5b5fa5b7e734abc.zip |
Callback revision.
Use "parse" and "add" for function and callback names instead of
"first" and "second".
Change arguments to callback so the extension type is unsigned int
and the buffer length is size_t. Note: this *will* break existing code.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index e1be6a908b..6a377743a1 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -547,8 +547,8 @@ static int next_proto_cb(SSL *s, unsigned char **out, unsigned char *outlen, con } # endif /* ndef OPENSSL_NO_NEXTPROTONEG */ -static int serverinfo_cli_cb(SSL* s, unsigned short ext_type, - const unsigned char* in, unsigned short inlen, +static int serverinfo_cli_cb(SSL* s, unsigned int ext_type, + const unsigned char* in, size_t inlen, int* al, void* arg) { char pem_name[100]; |