> On 08 Oct 2015, at 16:10, Daniel Willmann <[email protected]> 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) {
:}
