Browse Source

Fix bug in cookie_seed caching.

Seed was recalculated for every call
pull/17/head
Niels Werensteijn 8 years ago
parent
commit
25f760a070
  1. 2
      src/ts3init_cookie.c

2
src/ts3init_cookie.c

@ -91,8 +91,8 @@ static void check_update_seed_cache(time_t time, __u8 index, @@ -91,8 +91,8 @@ static void check_update_seed_cache(time_t time, __u8 index,
}
crypto_free_shash(tfm);
cache->time[index] = time;
}
}
__u64* ts3init_get_cookie_seed(time_t current_time, __u8 packet_index,

Loading…
Cancel
Save