[btls] Use UTC for the Unix epoch in the managed BTLS code (#3702)
commitb77e7ab0213b6df6d159471064923cda1caec992
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 10 Oct 2016 16:03:39 +0000 (10 18:03 +0200)
committerMartin Baulig <martin.baulig@xamarin.com>
Mon, 10 Oct 2016 16:04:28 +0000 (10 18:04 +0200)
tree2d8ed1c89476fc1a531f93a9f7bef73f4798515a
parent1a55680bfaffa3fa00881889133e5313a6cd9ab4
[btls] Use UTC for the Unix epoch in the managed BTLS code (#3702)

The epoch is specified as being in UTC, but the DateTime(int, int, int) constructor
creates a DateTime with an 'Unspecified' timezone, which could lead to problems later on.
(cherry picked from commit 8d1a65128a8f7d5686987158df91ead87ba32859)
mcs/class/System/Mono.Btls/MonoBtlsX509.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Crl.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Revoked.cs
mcs/class/System/Mono.Btls/MonoBtlsX509VerifyParam.cs