Fix from HEAD.
This commit is contained in:
parent
4d018f7067
commit
c42cd4b831
1 changed files with 1 additions and 1 deletions
|
@ -1167,7 +1167,7 @@ static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
|
|||
return 0;
|
||||
#endif
|
||||
}
|
||||
else if (!collect_data(buf, &p, plen))
|
||||
else if (plen && !collect_data(buf, &p, plen))
|
||||
return 0;
|
||||
len -= p - q;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue