Skip to content

Commit

Permalink
#1372 fix ssl when navigate to site with cert expiring after 2038 (#1373
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pete-reay-waters authored Feb 16, 2020
1 parent 473913e commit 2d73d5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/PuppeteerSharp/SecurityDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public SecurityDetails()
/// <param name="validFrom">Valid from</param>
/// <param name="validTo">Valid to</param>
/// <param name="protocol">Protocol</param>
public SecurityDetails(string subjectName, string issuer, int validFrom, int validTo, string protocol)
public SecurityDetails(string subjectName, string issuer, long validFrom, long validTo, string protocol)
{
SubjectName = subjectName;
Issuer = issuer;
Expand All @@ -53,13 +53,13 @@ public SecurityDetails(string subjectName, string issuer, int validFrom, int val
/// </summary>
/// <value>The valid from.</value>
[JsonProperty]
public int ValidFrom { get; internal set; }
public long ValidFrom { get; internal set; }
/// <summary>
/// Gets the valid to.
/// </summary>
/// <value>The valid to.</value>
[JsonProperty]
public int ValidTo { get; internal set; }
public long ValidTo { get; internal set; }
/// <summary>
/// Gets the protocol.
/// </summary>
Expand Down

0 comments on commit 2d73d5d

Please sign in to comment.