[openbsc 2/4] gprs: Use RAND_bytes for p-tmsi

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
Mon Oct 12 07:59:47 UTC 2015


> On 08 Oct 2015, at 16:10, Daniel Willmann <dwilllmann at sysmocom.de> wrote:
> 
> From: Daniel Willmann <dwillmann at sysmocom.de>


* missing include for the RAND_bytes prototype
* missing cat of ptmsi
* missing linking to LIBCRYPTO_LIBS
* missing linking to LIBCRYPTO_LIBS in the test


and after that.. the sgsn tests fail because of the TMSI situation. I have now
reverted the code. Please look at it with Jacob and extract the TMSI from the
SGSN state instead of resetting the RNG in the test.

holger




More information about the OpenBSC mailing list