From 9752fb14ec82e80334b5e7ba5eb5ef1ab1215e08 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 17 Dec 2024 15:29:28 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20Unterdr=C3=BCckung=20der=20Nullable-Warn?= =?UTF-8?q?ung=20f=C3=BCr=20den=20`Pem`-Getter=20in=20`RSADecryptor`=20-?= =?UTF-8?q?=20CS8603-Warnung=20f=C3=BCr=20den=20`Pem`-Getter=20in=20`RSADe?= =?UTF-8?q?cryptor`=20mit=20`#pragma=20warning=20disable/restore`=20unterd?= =?UTF-8?q?r=C3=BCckt.=20-=20Konsistentes=20Verhalten=20sichergestellt,=20?= =?UTF-8?q?ohne=20die=20Laufzeitlogik=20zu=20=C3=A4ndern.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DigitalData.Core.Security/Cryptographer/RSADecryptor.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DigitalData.Core.Security/Cryptographer/RSADecryptor.cs b/DigitalData.Core.Security/Cryptographer/RSADecryptor.cs index 0eede5d..98190a6 100644 --- a/DigitalData.Core.Security/Cryptographer/RSADecryptor.cs +++ b/DigitalData.Core.Security/Cryptographer/RSADecryptor.cs @@ -10,7 +10,9 @@ namespace DigitalData.Core.Security.Cryptographer public override string Pem { - get => _pem ?? throw PemIsNullException; +#pragma warning disable CS8603 // Possible null reference return. + get => _pem; +#pragma warning restore CS8603 // Possible null reference return. init { _pem = value;