Skip to content

Commit 9811c65

Browse files
eng | Fix production pipeline (#2450)
1 parent 9645c01 commit 9811c65

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

eng/pipelines/common/templates/steps/update-nuget-config-local-feed-step.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ steps:
2727
2828
#Set the Nuget.config file in the project to use extracted package
2929
$rootFolder = Get-location
30-
[Xml] $nugetConfig = Get-Content -Path "src\Nuget.config"
30+
[Xml] $nugetConfig = Get-Content -Path "Nuget.config"
3131
$Value = Resolve-Path ${{parameters.downloadedNugetPath }}
3232
$newAdd = $nugetConfig.CreateElement("add")
3333
$newAdd.SetAttribute("key","Package source")
3434
$newAdd.SetAttribute("value", "$Value\" )
3535
$nugetConfig.configuration.packageSources.AppendChild($newAdd)
36-
$nugetConfig.Save("$rootFolder\src\Nuget.config")
36+
$nugetConfig.Save("$rootFolder\Nuget.config")
3737
displayName: 'Update NuGet config file to read from Nuget folder'
3838

3939
- task: MSBuild@1

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/VirtualSecureModeEnclaveProviderBase.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,10 @@ private bool VerifyHealthReportAgainstRootCertificate(X509Certificate2Collection
255255
// An Always Encrypted-enabled driver doesn't verify an expiration date or a certificate authority chain.
256256
// A certificate is simply used as a key pair consisting of a public and private key. This is by design.
257257

258+
#pragma warning disable IA5352
258259
// CodeQL [SM00395] By design. Always Encrypted certificates should not be checked.
259260
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
261+
#pragma warning restore IA5352
260262

261263
if (!chain.Build(healthReportCert))
262264
{

0 commit comments

Comments
 (0)