Re-add alert variables removed during rebase
Whitespace fixes
This commit is contained in:
parent
519531e97e
commit
e9add063b5
@ -299,6 +299,7 @@ static int ssl23_client_hello(SSL *s)
|
|||||||
unsigned long l;
|
unsigned long l;
|
||||||
int ssl2_compat;
|
int ssl2_compat;
|
||||||
int version = 0, version_major, version_minor;
|
int version = 0, version_major, version_minor;
|
||||||
|
int al = 0;
|
||||||
#ifndef OPENSSL_NO_COMP
|
#ifndef OPENSSL_NO_COMP
|
||||||
int j;
|
int j;
|
||||||
SSL_COMP *comp;
|
SSL_COMP *comp;
|
||||||
|
@ -689,6 +689,7 @@ int ssl3_client_hello(SSL *s)
|
|||||||
unsigned char *p,*d;
|
unsigned char *p,*d;
|
||||||
int i;
|
int i;
|
||||||
unsigned long l;
|
unsigned long l;
|
||||||
|
int al = 0;
|
||||||
#ifndef OPENSSL_NO_COMP
|
#ifndef OPENSSL_NO_COMP
|
||||||
int j;
|
int j;
|
||||||
SSL_COMP *comp;
|
SSL_COMP *comp;
|
||||||
@ -3750,9 +3751,11 @@ int tls1_get_server_supplemental_data(SSL *s)
|
|||||||
/* if there is a callback for this supp data type, send it */
|
/* if there is a callback for this supp data type, send it */
|
||||||
for (i=0; i < s->ctx->cli_supp_data_records_count; i++)
|
for (i=0; i < s->ctx->cli_supp_data_records_count; i++)
|
||||||
{
|
{
|
||||||
if (s->ctx->cli_supp_data_records[i].supp_data_type == supp_data_entry_type && s->ctx->cli_supp_data_records[i].fn1)
|
if (s->ctx->cli_supp_data_records[i].supp_data_type == supp_data_entry_type &&
|
||||||
|
s->ctx->cli_supp_data_records[i].fn1)
|
||||||
{
|
{
|
||||||
cb_retval = s->ctx->cli_supp_data_records[i].fn1(s, supp_data_entry_type, p, supp_data_entry_len, &al, s->ctx->cli_supp_data_records[i].arg);
|
cb_retval = s->ctx->cli_supp_data_records[i].fn1(s, supp_data_entry_type, p,
|
||||||
|
supp_data_entry_len, &al, s->ctx->cli_supp_data_records[i].arg);
|
||||||
if (cb_retval == 0)
|
if (cb_retval == 0)
|
||||||
{
|
{
|
||||||
SSLerr(SSL_F_TLS1_GET_SERVER_SUPPLEMENTAL_DATA, ERR_R_SSL_LIB);
|
SSLerr(SSL_F_TLS1_GET_SERVER_SUPPLEMENTAL_DATA, ERR_R_SSL_LIB);
|
||||||
|
@ -1504,7 +1504,8 @@ int ssl3_send_server_hello(SSL *s)
|
|||||||
{
|
{
|
||||||
unsigned char *buf;
|
unsigned char *buf;
|
||||||
unsigned char *p,*d;
|
unsigned char *p,*d;
|
||||||
int i,sl,al;
|
int i,sl;
|
||||||
|
int al = 0;
|
||||||
unsigned long l;
|
unsigned long l;
|
||||||
|
|
||||||
if (s->state == SSL3_ST_SW_SRVR_HELLO_A)
|
if (s->state == SSL3_ST_SW_SRVR_HELLO_A)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user