Skip to content

Commit 8a4072e

Browse files
committed
Merge branch 'dennisdyallo/add-testdata' into develop
2 parents bddb018 + 1ffc0ca commit 8a4072e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Yubico.YubiKey/tests/utilities/Yubico.YubiKey.TestUtilities.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ limitations under the License. -->
3131
</PropertyGroup>
3232

3333
<ItemGroup>
34+
<PackageReference Include="Microsoft.Bcl.Cryptography" Version="9.0.0" />
3435
<PackageReference Include="Moq" Version="4.16.1" />
3536
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
3637
</ItemGroup>

Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/TestKeys.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private TestCertificate(string filePath, bool isAttestation) : base(filePath)
164164
/// <returns>X509Certificate2 instance initialized with the certificate data</returns>
165165
public X509Certificate2 AsX509Certificate2()
166166
{
167-
return new X509Certificate2(_bytes);
167+
return X509CertificateLoader.LoadCertificate(_bytes);
168168
}
169169

170170
/// <summary>

0 commit comments

Comments
 (0)