summaryrefslogtreecommitdiffstats
path: root/src/gsm/auth_comp128v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/auth_comp128v1.c')
-rw-r--r--src/gsm/auth_comp128v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/auth_comp128v1.c b/src/gsm/auth_comp128v1.c
index 2e1ad2c9..41aef71c 100644
--- a/src/gsm/auth_comp128v1.c
+++ b/src/gsm/auth_comp128v1.c
@@ -28,7 +28,7 @@ static int c128v1_gen_vec(struct osmo_auth_vector *vec,
struct osmo_sub_auth_data *aud,
const uint8_t *_rand)
{
- comp128(aud->gsm.ki, _rand, vec->sres, vec->kc);
+ comp128(aud->u.gsm.ki, _rand, vec->sres, vec->kc);
vec->auth_types = OSMO_AUTH_TYPE_GSM;
return 0;