diff options
Diffstat (limited to 'openbsc/tests/sgsn')
-rw-r--r-- | openbsc/tests/sgsn/sgsn_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c index ebe12c906..7c48eef0a 100644 --- a/openbsc/tests/sgsn/sgsn_test.c +++ b/openbsc/tests/sgsn/sgsn_test.c @@ -876,7 +876,7 @@ static void test_gmm_attach_subscr_fake_auth(void) subscr = gprs_subscr_get_or_create("123456789012345"); subscr->authorized = 1; - subscr->sgsn_data->authenticate = 1; + sgsn->cfg.require_authentication = 1; subscr_put(subscr); printf("Auth policy 'remote', auth faked: "); @@ -918,7 +918,7 @@ static void test_gmm_attach_subscr_real_auth(void) subscr = gprs_subscr_get_or_create("123456789012345"); subscr->authorized = 1; - subscr->sgsn_data->authenticate = 1; + sgsn->cfg.require_authentication = 1; subscr_put(subscr); printf("Auth policy 'remote', triplet based auth: "); |