This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Holger Freyther holger at freyther.de
> On 08 Oct 2015, at 16:10, Daniel Willmann <dwilllmann at sysmocom.de> wrote:
>
>
> for (;;) {
> - subscriber->tmsi = rand();
> + if (RAND_bytes(&subscriber->tmsi, sizeof(subscriber->tmsi)) != 1) {
> + LOGP(DDB, LOGL_ERROR, "RAND_bytes failed\n");
db.c:1199:18: warning: passing argument 1 of ‘RAND_bytes’ from incompatible pointer type
if (RAND_bytes(&subscriber->tmsi, sizeof(subscriber->tmsi)) != 1) {
:}