detect/base64_data: remove use of sm_list macro

pull/8732/head
Victor Julien 2 years ago
parent 501388c912
commit 0d3c551b83

@ -98,7 +98,7 @@ static int DetectBase64DataSetupTest01(void)
goto end; 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) { if (sm == NULL) {
printf("DETECT_SM_LIST_PMATCH should not be NULL: "); printf("DETECT_SM_LIST_PMATCH should not be NULL: ");
goto end; goto end;
@ -108,7 +108,7 @@ static int DetectBase64DataSetupTest01(void)
goto end; 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: "); printf("DETECT_SM_LIST_BASE64_DATA should not be NULL: ");
goto end; goto end;
} }

Loading…
Cancel
Save