summaryrefslogtreecommitdiffstats
path: root/src/gsm/auth_comp128v1.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-07 11:35:02 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-07 11:35:02 +0100
commitaae236245596743b6aff4b1b294c0e8d97b8190f (patch)
tree7a84960ab3e424930676107f33ad23981b964834 /src/gsm/auth_comp128v1.c
parent57143a43619ccb229b35b4b4c7def737cb41a40a (diff)
auth_core: don't use anonymous unions to make certain gcc versions happy
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;