projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid signed vs. unsigned warnings (which are treated like errors on
[openssl.git]
/
crypto
/
asn1
/
a_gentm.c
diff --git
a/crypto/asn1/a_gentm.c
b/crypto/asn1/a_gentm.c
index 1aba86d0db73e6be158fc4cd40edab8eb65142b0..85810078681e8c3a7d58ad16fa00c4b391040b1b 100644
(file)
--- a/
crypto/asn1/a_gentm.c
+++ b/
crypto/asn1/a_gentm.c
@@
-220,7
+220,7
@@
ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
return(NULL);
p=(char *)s->data;
- if ((p == NULL) || (s->length < len))
+ if ((p == NULL) || (
(size_t)
s->length < len))
{
p=OPENSSL_malloc(len);
if (p == NULL) return(NULL);