From e1bbb04c4de1b249165f3f9c1a2a8aa896c8f10b Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 21 Mar 2024 13:24:19 +0700 Subject: Fix warning --- crypto/src/bcpg/sig/SignatureCreationTime.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto') diff --git a/crypto/src/bcpg/sig/SignatureCreationTime.cs b/crypto/src/bcpg/sig/SignatureCreationTime.cs index 87e41a43c..47e1daae1 100644 --- a/crypto/src/bcpg/sig/SignatureCreationTime.cs +++ b/crypto/src/bcpg/sig/SignatureCreationTime.cs @@ -22,10 +22,12 @@ namespace Org.BouncyCastle.Bcpg.Sig { } +#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() { -- cgit 1.4.1