projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR: 2742
[oweals/openssl.git]
/
crypto
/
asn1
/
a_int.c
diff --git
a/crypto/asn1/a_int.c
b/crypto/asn1/a_int.c
index 3348b8762cc4026bbad7508be9385e43aeb884dc..ad0d2506f63203679814cd36018f1dc9c4221b91 100644
(file)
--- a/
crypto/asn1/a_int.c
+++ b/
crypto/asn1/a_int.c
@@
-386,8
+386,8
@@
long ASN1_INTEGER_get(const ASN1_INTEGER *a)
if (a->length > (int)sizeof(long))
{
- /* hmm... a bit ugly */
- return
(0xffffffffL)
;
+ /* hmm... a bit ugly
, return all ones
*/
+ return
-1
;
}
if (a->data == NULL)
return 0;