diff options
author | Scott Deboy <sdeboy@secondstryke.com> | 2014-02-04 13:08:43 -0800 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2014-02-05 18:25:46 +0000 |
commit | e9add063b50e8a460d5636055156d2760c2fe29f (patch) | |
tree | 7306ee92958bf24088020a5f0d7b8900b751fef6 /ssl/s23_clnt.c | |
parent | 519531e97ef1ca38d652e02181227ebb40f1a31c (diff) |
Re-add alert variables removed during rebase
Whitespace fixes
Diffstat (limited to 'ssl/s23_clnt.c')
-rw-r--r-- | ssl/s23_clnt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index 452a19c171..60a028430d 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -299,6 +299,7 @@ static int ssl23_client_hello(SSL *s) unsigned long l; int ssl2_compat; int version = 0, version_major, version_minor; + int al = 0; #ifndef OPENSSL_NO_COMP int j; SSL_COMP *comp; @@ -553,9 +554,9 @@ static int ssl23_client_hello(SSL *s) SSLerr(SSL_F_SSL23_CLIENT_HELLO,SSL_R_CLIENTHELLO_TLSEXT); return -1; } - if ((p = ssl_add_clienthello_tlsext(s, p, buf+SSL3_RT_MAX_PLAIN_LENGTH, &al)) == NULL) + if ((p = ssl_add_clienthello_tlsext(s, p, buf+SSL3_RT_MAX_PLAIN_LENGTH, &al)) == NULL) { - ssl3_send_alert(s,SSL3_AL_FATAL,al); + ssl3_send_alert(s,SSL3_AL_FATAL,al); SSLerr(SSL_F_SSL23_CLIENT_HELLO,ERR_R_INTERNAL_ERROR); return -1; } |