diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-19 16:11:24 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-04 13:09:46 +0100 |
commit | 348240c676a1b2beaebb865e8be0b62f88c10b7d (patch) | |
tree | 4ab53f4be6dee16b0a91113264047970c5cff1b9 /ssl/ssl_asn1.c | |
parent | Convert the mac functions to just return 1 for success and 0 for failure (diff) | |
download | openssl-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.c | 2 |
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; } |