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:
9b2a296
)
fix warning
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 15 Jan 2012 13:30:52 +0000
(13:30 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 15 Jan 2012 13:30:52 +0000
(13:30 +0000)
crypto/asn1/t_x509.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/t_x509.c
b/crypto/asn1/t_x509.c
index 4f5d28f1abccac6cabbdb8bf3612744a2d4f337a..edbb39a02f7a5749e183de368b5bf8f34b4226f1 100644
(file)
--- a/
crypto/asn1/t_x509.c
+++ b/
crypto/asn1/t_x509.c
@@
-138,7
+138,7
@@
int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
if (BIO_write(bp," Serial Number:",22) <= 0) goto err;
bs=X509_get_serialNumber(x);
- if (bs->length <= sizeof(long))
+ if (bs->length <=
(int)
sizeof(long))
{
l=ASN1_INTEGER_get(bs);
if (bs->type == V_ASN1_NEG_INTEGER)