From c0655f65801f4694f46c76c5d76a5fca9ece6cdc Mon Sep 17 00:00:00 2001 From: Kevin Gosse Date: Wed, 8 Jan 2025 17:03:15 +0100 Subject: [PATCH] Fix compilation of Samples.Security.AspNetCore5 (#6512) ## Summary of changes Make Samples.Security.AspNetCore5 compile again. ## Implementation details A field that was inadvertently removed was actually used. --- .../Samples.Security.AspNetCore5/Controllers/IastController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tracer/test/test-applications/security/Samples.Security.AspNetCore5/Controllers/IastController.cs b/tracer/test/test-applications/security/Samples.Security.AspNetCore5/Controllers/IastController.cs index eb96cf77191c..861e9632931d 100644 --- a/tracer/test/test-applications/security/Samples.Security.AspNetCore5/Controllers/IastController.cs +++ b/tracer/test/test-applications/security/Samples.Security.AspNetCore5/Controllers/IastController.cs @@ -79,6 +79,7 @@ public class IastController : Controller { private static SQLiteConnection _dbConnectionSystemData = null; private static SqliteConnection _dbConnectionSystemDataMicrosoftData = null; + private static SqlConnection _dbConnectionSystemDataSqlClient = null; private static IMongoDatabase _mongoDb = null; #if NETCOREAPP3_0_OR_GREATER private static NpgsqlConnection _dbConnectionNpgsql = null;