summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-02-05 00:16:46 +0100
committerBen Laurie <ben@links.org>2014-02-05 19:25:46 +0100
commit0a6028757a77769f09d5c6dd3a541971224a5d81 (patch)
treed62033cf3aec65dc649046ac32e4720925c7206b /ssl/t1_lib.c
parentRe-add alert variables removed during rebase (diff)
downloadopenssl-0a6028757a77769f09d5c6dd3a541971224a5d81.tar.xz
openssl-0a6028757a77769f09d5c6dd3a541971224a5d81.zip
Fix whitespace, new-style comments.
Diffstat (limited to '')
-rw-r--r--ssl/t1_lib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 8e2d6b1897..0626fc6fcb 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -1453,8 +1453,8 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha
{
int cb_retval = 0;
cb_retval = record->fn1(s, record->ext_type,
- &out, &outlen, al,
- record->arg);
+ &out, &outlen, al,
+ record->arg);
if (cb_retval == 0)
return NULL; /* error */
if (cb_retval == -1)
@@ -1700,11 +1700,12 @@ unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *p, unsigned cha
for (i = 0; i < s->ctx->custom_srv_ext_records_count; i++)
{
- record = &s->ctx->custom_srv_ext_records[i];
const unsigned char *out = NULL;
unsigned short outlen = 0;
int cb_retval = 0;
+ record = &s->ctx->custom_srv_ext_records[i];
+
/* NULL callback or -1 omits extension */
if (!record->fn2)
break;