diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-03-21 13:24:19 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-03-21 13:24:19 +0700 |
commit | e1bbb04c4de1b249165f3f9c1a2a8aa896c8f10b (patch) | |
tree | e57f833908b687fb491dbff539d15e37fbfd5ff0 /crypto/src/bcpg/sig | |
parent | Expanded regression tests for infinite loop (diff) | |
download | BouncyCastle.NET-ed25519-e1bbb04c4de1b249165f3f9c1a2a8aa896c8f10b.tar.xz |
Fix warning
Diffstat (limited to 'crypto/src/bcpg/sig')
-rw-r--r-- | crypto/src/bcpg/sig/SignatureCreationTime.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |