diff options
| author | Dr. Stephen Henson <[email protected]> | 2006-01-31 19:38:06 +0100 |
|---|---|---|
| committer | Dr. Stephen Henson <[email protected]> | 2006-01-31 19:38:06 +0100 |
| commit | 0a2466a08df397baa7cd9a0f9ecd08c205802c97 (patch) | |
| tree | 94b109da8f78ecec8221ae81b856104f3d570ef3 | |
| parent | Update some scripts to use fips-1.0 (diff) | |
| download | openssl-0a2466a08df397baa7cd9a0f9ecd08c205802c97.tar.gz openssl-0a2466a08df397baa7cd9a0f9ecd08c205802c97.zip | |
Fix from head.
| -rw-r--r-- | crypto/asn1/tasn_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index d9aafacbdfc..c22501fc63b 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -903,7 +903,7 @@ static int asn1_collect(BUF_MEM *buf, unsigned char **in, long len, char inf, in return 0; #endif } else { - if(!collect_data(buf, &p, plen)) return 0; + if(plen && !collect_data(buf, &p, plen)) return 0; } len -= p - q; } |
