Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdettman committed Mar 21, 2024
1 parent b1ea08c commit e1bbb04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/src/bcpg/sig/SignatureCreationTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ public SignatureCreationTime(bool critical, bool isLongLength, byte[] data)
{
}

#pragma warning disable CS0618 // Type or member is obsolete
public SignatureCreationTime(bool critical, DateTime date)
: base(SignatureSubpacketTag.CreationTime, critical, false, TimeToBytes(date))
{
}
#pragma warning restore CS0618 // Type or member is obsolete

public DateTime GetTime()
{
Expand Down

0 comments on commit e1bbb04

Please sign in to comment.