diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-12-07 11:35:02 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-07 11:35:02 +0100 |
commit | aae236245596743b6aff4b1b294c0e8d97b8190f (patch) | |
tree | 7a84960ab3e424930676107f33ad23981b964834 /src/gsm/auth_comp128v1.c | |
parent | 57143a43619ccb229b35b4b4c7def737cb41a40a (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.c | 2 |
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; |