summaryrefslogtreecommitdiffstats
path: root/src/gsm/auth_milenage.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-07 02:56:28 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-07 02:56:28 +0100
commit1726ec5e17a12ed18e87fd2827ec8badee1777b5 (patch)
treea9414e38194cbc376fb739b19daaf00f5f767556 /src/gsm/auth_milenage.c
parent9df00bb857ad88f48788c51a77b05833a19eb5c0 (diff)
auth_milenage: we now copy RAND in auth_core, no need to do it twice
Diffstat (limited to 'src/gsm/auth_milenage.c')
-rw-r--r--src/gsm/auth_milenage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gsm/auth_milenage.c b/src/gsm/auth_milenage.c
index 2630350c..f2d2ffa1 100644
--- a/src/gsm/auth_milenage.c
+++ b/src/gsm/auth_milenage.c
@@ -72,7 +72,6 @@ static int milenage_gen_vec(struct osmo_auth_vector *vec,
return rc;
vec->auth_types = OSMO_AUTH_TYPE_UMTS | OSMO_AUTH_TYPE_GSM;
- memcpy(vec->rand, _rand, sizeof(vec->rand));
aud->umts.sqn++;
return 0;