summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_rsa.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-08-19 15:02:50 +0200
committerDr. Stephen Henson <steve@openssl.org>2014-08-28 18:06:53 +0200
commit0cfefe4b6dcc6947c236b0f10a7f9e2f02273075 (patch)
tree20bed42752b491530d2cca9b9382827270d0377a /ssl/ssl_rsa.c
parentUse consistent function naming. (diff)
downloadopenssl-0cfefe4b6dcc6947c236b0f10a7f9e2f02273075.tar.xz
openssl-0cfefe4b6dcc6947c236b0f10a7f9e2f02273075.zip
Rename some callbacks, fix alignment.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/ssl_rsa.c')
-rw-r--r--ssl/ssl_rsa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c
index 510e564d86..6f9337e150 100644
--- a/ssl/ssl_rsa.c
+++ b/ssl/ssl_rsa.c
@@ -874,8 +874,8 @@ static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type,
}
static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type,
- const unsigned char **out, size_t *outlen,
- int *al, void *arg)
+ const unsigned char **out, size_t *outlen,
+ int *al, void *arg)
{
const unsigned char *serverinfo = NULL;
size_t serverinfo_length = 0;
@@ -921,10 +921,10 @@ static int serverinfo_process_buffer(const unsigned char *serverinfo,
/* Register callbacks for extensions */
ext_type = (serverinfo[0] << 8) + serverinfo[1];
if (ctx && !SSL_CTX_add_server_custom_ext(ctx, ext_type,
- serverinfo_srv_add_cb,
- NULL, NULL,
- serverinfo_srv_parse_cb,
- NULL))
+ serverinfo_srv_add_cb,
+ NULL, NULL,
+ serverinfo_srv_parse_cb,
+ NULL))
return 0;
serverinfo += 2;