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:
850be8f
)
Fix from head.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 1 Mar 2004 13:23:41 +0000
(13:23 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 1 Mar 2004 13:23:41 +0000
(13:23 +0000)
apps/asn1pars.c
patch
|
blob
|
history
diff --git
a/apps/asn1pars.c
b/apps/asn1pars.c
index 6c40685bbd2dee421ea83d3c2f877d5e4c4c9202..7db40adf0436b3edc33edeb201b4382ed3d46023 100644
(file)
--- a/
apps/asn1pars.c
+++ b/
apps/asn1pars.c
@@
-312,7
+312,7
@@
bad:
num -= offset;
- if ((length == 0) || (length > num)) length=(unsigned int)num;
+ if ((length == 0) || (
(long)
length > num)) length=(unsigned int)num;
if(derout) {
if(BIO_write(derout, str + offset, length) != (int)length) {
BIO_printf(bio_err, "Error writing output\n");