projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172bb37
)
Fix from head.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:38:06 +0000
(18:38 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Jan 2006 18:38:06 +0000
(18:38 +0000)
crypto/asn1/tasn_dec.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_dec.c
b/crypto/asn1/tasn_dec.c
index d9aafacbdfc46f0e8342cd78363eca08b3605050..c22501fc63b55757856a6060557c094efff85762 100644
(file)
--- 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;
}