[BTLS]: Use `int64_t` instead of `long` in the native API. (#3857)
authorMartin Baulig <martin.baulig@xamarin.com>
Mon, 7 Nov 2016 17:23:42 +0000 (18:23 +0100)
committerMartin Baulig <martin.baulig@xamarin.com>
Mon, 7 Nov 2016 17:25:17 +0000 (18:25 +0100)
commit4aa4345ba9c1b4faebe13da71d47e35e2d7f2be7
tree8534afa3218a0ff77341db0d53566ff5ab4924ad
parent213bce206b46a94c5a80aad2965a45f2aff675f5
[BTLS]: Use `int64_t` instead of `long` in the native API. (#3857)

* [BTLS]: Use `int64_t` instead of `long` in the native API.

* Copy time64.c from Android's source code to get a 64-bit timegm64().

* Rename into btls_timegm64() and remove everything we don't need.

(cherry picked from commit 2365067bdae39f75979df30b65ae08f095cbd176)
18 files changed:
mono/btls/CMakeLists.txt
mono/btls/btls-android-utils.c [deleted file]
mono/btls/btls-bio.c
mono/btls/btls-bio.h
mono/btls/btls-time64.c [new file with mode: 0644]
mono/btls/btls-util.c
mono/btls/btls-util.h
mono/btls/btls-x509-crl.c
mono/btls/btls-x509-crl.h
mono/btls/btls-x509-lookup-mono.c
mono/btls/btls-x509-name.c
mono/btls/btls-x509-name.h
mono/btls/btls-x509-revoked.c
mono/btls/btls-x509-revoked.h
mono/btls/btls-x509-verify-param.c
mono/btls/btls-x509-verify-param.h
mono/btls/btls-x509.c
mono/btls/btls-x509.h