Skip to content

Commit 06ebfc2

Browse files
authored
Remove invalid assert in RSAOpenSsl
1 parent b08181b commit 06ebfc2

File tree

1 file changed

+0
-1
lines changed
  • src/libraries/Common/src/System/Security/Cryptography

1 file changed

+0
-1
lines changed

src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,6 @@ private void FreeKey()
654654
[MemberNotNull(nameof(_key))]
655655
private void SetKey(SafeEvpPKeyHandle newKey)
656656
{
657-
Debug.Assert(!newKey.IsInvalid);
658657
FreeKey();
659658
_key = new Lazy<SafeEvpPKeyHandle>(newKey);
660659

0 commit comments

Comments
 (0)