summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_asn1.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-19 16:11:24 +0200
committerMatt Caswell <matt@openssl.org>2016-11-04 13:09:46 +0100
commit348240c676a1b2beaebb865e8be0b62f88c10b7d (patch)
tree4ab53f4be6dee16b0a91113264047970c5cff1b9 /ssl/ssl_asn1.c
parentConvert the mac functions to just return 1 for success and 0 for failure (diff)
downloadopenssl-348240c676a1b2beaebb865e8be0b62f88c10b7d.tar.xz
openssl-348240c676a1b2beaebb865e8be0b62f88c10b7d.zip
Fix misc size_t issues causing Windows warnings in 64 bit
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/ssl_asn1.c')
-rw-r--r--ssl/ssl_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c
index 9b6ea0a1f1..fd13f90c28 100644
--- a/ssl/ssl_asn1.c
+++ b/ssl/ssl_asn1.c
@@ -102,7 +102,7 @@ static void ssl_session_oinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os,
unsigned char *data, size_t len)
{
os->data = data;
- os->length = len;
+ os->length = (int)len;
os->flags = 0;
*dest = os;
}