diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-05-15 17:55:07 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-05-15 17:55:07 +0000 |
commit | 4843acc868d09de38b596bd94f85f30bcdafdb8a (patch) | |
tree | 4f6d7969a3fc519149cc14cb6a1929cc452156e8 /ssl/s3_pkt.c | |
parent | 9e0aad9fd60635e240f7742fa1497eced6f1cd0b (diff) |
Fixes so alerts are sent properly in s3_pkt.c
PR: 851
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r-- | ssl/s3_pkt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 3f88429e79..1f89e8ccef 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -862,7 +862,7 @@ start: { al=SSL_AD_UNEXPECTED_MESSAGE; SSLerr(SSL_F_SSL3_READ_BYTES,SSL_R_DATA_BETWEEN_CCS_AND_FINISHED); - goto err; + goto f_err; } /* If the other end has shut down, throw anything we read away @@ -969,7 +969,7 @@ start: { al=SSL_AD_DECODE_ERROR; SSLerr(SSL_F_SSL3_READ_BYTES,SSL_R_BAD_HELLO_REQUEST); - goto err; + goto f_err; } if (s->msg_callback) @@ -1080,9 +1080,9 @@ start: if ( (rr->length != 1) || (rr->off != 0) || (rr->data[0] != SSL3_MT_CCS)) { - i=SSL_AD_ILLEGAL_PARAMETER; + al=SSL_AD_ILLEGAL_PARAMETER; SSLerr(SSL_F_SSL3_READ_BYTES,SSL_R_BAD_CHANGE_CIPHER_SPEC); - goto err; + goto f_err; } rr->length=0; |