Skip to content

Commit

Permalink
Remove invalid assert (#107952)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Jones <kevin@vcsjones.com>
  • Loading branch information
github-actions[bot] and vcsjones committed Sep 19, 2024
1 parent 8cc55c6 commit f1b67af
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ private void FreeKey()
[MemberNotNull(nameof(_key))]
private void SetKey(SafeEvpPKeyHandle newKey)
{
Debug.Assert(!newKey.IsInvalid);
FreeKey();
_key = new Lazy<SafeEvpPKeyHandle>(newKey);

Expand Down

0 comments on commit f1b67af

Please sign in to comment.