projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix whitespace, new-style comments.
[openssl.git]
/
ssl
/
t1_lib.c
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index 8e2d6b18979bd5c0104baf44324f20f034652718..0626fc6fcb235c12c81e810bbd3de676ec9c1df3 100644
(file)
--- 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,
{
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)
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++)
{
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;
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;
/* NULL callback or -1 omits extension */
if (!record->fn2)
break;