mirror of
https://github.com/openssl/openssl.git
synced 2024-12-19 06:53:49 +08:00
Fix typo in valid_star
Reviewed-by: Rich Salz <rsalz@akamai.com>
This commit is contained in:
parent
86885c2895
commit
9a3bf97315
@ -795,7 +795,7 @@ static const unsigned char *valid_star(const unsigned char *p, size_t len,
|
||||
*/
|
||||
if (p[i] == '*') {
|
||||
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.
|
||||
* No wildcards in IDNA labels.
|
||||
|
Loading…
Reference in New Issue
Block a user