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:02:00 +0000 (11:02 +0200)
commit6fb4f30611e8e5a5598234463f644cb950de760d
tree29055c1a71256a28e1ac3e9495c7a50bb8fe1459
parent93c2fb6f2706b2f2836128436f4541bd22e9ff40
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/3120)
ssl/ssl_asn1.c