Skip to content

Commit d6857c2

Browse files
committed
misc: ignore obsolete warning
1 parent 9f85b64 commit d6857c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GenerateKeyPairCommand.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ private byte[] BuildGenerateKeyPairApduData()
331331

332332
/// <inheritdoc />
333333
public GenerateKeyPairResponse CreateResponseForApdu(ResponseApdu responseApdu) =>
334-
new GenerateKeyPairResponse(responseApdu, SlotNumber);
334+
#pragma warning disable CS0618 // Type or member is obsolete TODO handle obsolete methdo
335+
new GenerateKeyPairResponse(responseApdu, SlotNumber, Algorithm);
336+
#pragma warning restore CS0618 // Type or member is obsolete
335337
}
336338
}

0 commit comments

Comments
 (0)