Browse Source

Don't confuse TLS bidirectional shutdown on record type zero.

The bidi shutdown code uses type = 0 as a special signal value, but code
elsewhere doesn't account for this.

BUG=526437

Change-Id: I090cee421633d70ef3b84f4daa811608031b9ed9
Reviewed-on: https://boringssl-review.googlesource.com/5771
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
David Benjamin 9 years ago
committed by Adam Langley
parent
commit
ee0b02a10d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ssl/s3_pkt.c

+ 1
- 1
ssl/s3_pkt.c View File

@@ -458,7 +458,7 @@ start:
return 0;
}

if (type == rr->type) {
if (type != 0 && type == rr->type) {
s->s3->warning_alert_count = 0;

/* SSL3_RT_APPLICATION_DATA or SSL3_RT_HANDSHAKE */


Loading…
Cancel
Save