diff options
author | David Benjamin <davidben@chromium.org> | 2014-09-20 15:36:01 -0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-09-22 17:22:47 +0000 |
commit | 2a5ea98a4600327afdaf90ff959209db90ff8f4c (patch) | |
tree | 55eb2b52df49df18367d0b5c33310aaf2f954e86 | |
parent | bb0a17c5e18a8f8b0416443dc78c08fb7133e37a (diff) | |
download | src-2a5ea98a4600327afdaf90ff959209db90ff8f4c.tar.gz |
Remove redundant check in cipher rule parsing.
It's redundant with the check at the top of the loop.
Change-Id: If64e5396658ca28cad937411c6fc8671a2abfdcd
Reviewed-on: https://boringssl-review.googlesource.com/1802
Reviewed-by: Adam Langley <agl@google.com>
-rw-r--r-- | ssl/ssl_ciph.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index d3e1749..eb28656 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -991,7 +991,6 @@ static int ssl_cipher_process_rulestr(const char *rule_str, while ((*l != '\0') && !ITEM_SEP(*l)) l++; } - if (*l == '\0') break; /* done */ } if (in_group) |