projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix wrong numbers being passed as string lengths
[openssl.git]
/
crypto
/
asn1
/
asn1_par.c
diff --git
a/crypto/asn1/asn1_par.c
b/crypto/asn1/asn1_par.c
index f6cd4b2b8caae68b97fe11bcb3c4f902472ddfba..a5d2da10bb72df1bc5e8396ba90e85bae4b55eef 100644
(file)
--- a/
crypto/asn1/asn1_par.c
+++ b/
crypto/asn1/asn1_par.c
@@
-337,7
+337,7
@@
static int asn1_parse2(BIO *bp, const unsigned char **pp, long length,
goto end;
}
} else {
- if (BIO_write(bp, "BAD ENUMERATED", 1
1
) <= 0)
+ if (BIO_write(bp, "BAD ENUMERATED", 1
4
) <= 0)
goto end;
}
M_ASN1_ENUMERATED_free(bs);