Convert SSL_SESSION_ASN1 to use size specific integers
authorRichard Levitte <levitte@openssl.org>
Thu, 30 Mar 2017 11:33:33 +0000 (13:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Apr 2017 09:29:23 +0000 (11:29 +0200)
commit66ecfb5437b22664a4358e8de6da942727f5fb11
tree321ec3a37b6063032b280dbcb942876819758abc
parent5c7e65486c15f6b93ee413515612e6031dc2e416
Convert SSL_SESSION_ASN1 to use size specific integers

This increases portability of SSL_SESSION files between architectures
where the size of |long| may vary.  Before this, SSL_SESSION files
produced on a 64-bit long architecture may break on a 32-bit long
architecture.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3088)
ssl/ssl_asn1.c