From 0d3c551b836ee737f70d16b0b42a33a02c747413 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 17 Mar 2023 14:06:19 +0100 Subject: [PATCH] detect/base64_data: remove use of sm_list macro --- src/detect-base64-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detect-base64-data.c b/src/detect-base64-data.c index 4e7aef4459..a533912001 100644 --- a/src/detect-base64-data.c +++ b/src/detect-base64-data.c @@ -98,7 +98,7 @@ static int DetectBase64DataSetupTest01(void) goto end; } - sm = de_ctx->sig_list->sm_lists[DETECT_SM_LIST_PMATCH]; + sm = de_ctx->sig_list->init_data->smlists[DETECT_SM_LIST_PMATCH]; if (sm == NULL) { printf("DETECT_SM_LIST_PMATCH should not be NULL: "); goto end; @@ -108,7 +108,7 @@ static int DetectBase64DataSetupTest01(void) goto end; } - if (de_ctx->sig_list->sm_lists[DETECT_SM_LIST_BASE64_DATA] == NULL) { + if (de_ctx->sig_list->init_data->smlists[DETECT_SM_LIST_BASE64_DATA] == NULL) { printf("DETECT_SM_LIST_BASE64_DATA should not be NULL: "); goto end; } -- 2.47.2