diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-08-19 14:02:50 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-08-28 18:10:21 +0100 |
commit | cf8d6c1000f7f3d91a1f3052556614f14f140e82 (patch) | |
tree | 55a1b1c7f74ad8ff3988412a211e4d6de95bd560 /ssl/ssl_rsa.c | |
parent | 4164d631bbc6bc0462f1461a4eea006692810049 (diff) |
Rename some callbacks, fix alignment.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit 0cfefe4b6dcc6947c236b0f10a7f9e2f02273075)
Diffstat (limited to 'ssl/ssl_rsa.c')
-rw-r--r-- | ssl/ssl_rsa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index d75c8245f1..943502d092 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -859,8 +859,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; @@ -906,10 +906,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; |