Skip to content

Commit f1b67af

Browse files
Remove invalid assert (#107952)
Co-authored-by: Kevin Jones <[email protected]>
1 parent 8cc55c6 commit f1b67af

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)