Fix typo in valid_star.
(Imported from upstream's 9a3bf97315aa121441777bf1bc4bea3c5e00af29.) Change-Id: I1ce28437333012347985c788c86671f5ec34b34f Reviewed-on: https://boringssl-review.googlesource.com/4888 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
e76ccae68b
commit
1590811111
@ -751,7 +751,7 @@ static const unsigned char *valid_star(const unsigned char *p, size_t len,
|
|||||||
if (p[i] == '*')
|
if (p[i] == '*')
|
||||||
{
|
{
|
||||||
int atstart = (state & LABEL_START);
|
int atstart = (state & LABEL_START);
|
||||||
int atend = (i == len - 1 || p[i+i] == '.');
|
int atend = (i == len - 1 || p[i+1] == '.');
|
||||||
/*
|
/*
|
||||||
* At most one wildcard per pattern.
|
* At most one wildcard per pattern.
|
||||||
* No wildcards in IDNA labels.
|
* No wildcards in IDNA labels.
|
||||||
|
Loading…
Reference in New Issue
Block a user