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:
8655de4
)
correctly encode OIDs near 2^32
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Jun 2011 15:15:20 +0000
(15:15 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Jun 2011 15:15:20 +0000
(15:15 +0000)
crypto/asn1/a_object.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/a_object.c
b/crypto/asn1/a_object.c
index 365e4673a95c37dda900592cd6896019a968eaf7..d24ab92da09f2fe7d65e6c662452393d82ac90c3 100644
(file)
--- a/
crypto/asn1/a_object.c
+++ b/
crypto/asn1/a_object.c
@@
-139,7
+139,7
@@
int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
ASN1err(ASN1_F_A2D_ASN1_OBJECT,ASN1_R_INVALID_DIGIT);
goto err;
}
- if (!use_bn && l > (ULONG_MAX / 10L))
+ if (!use_bn && l >
=
(ULONG_MAX / 10L))
{
use_bn = 1;
if (!bl)