[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/.

Daniel Willmann dwillmann at sysmocom.de
Mon Oct 12 17:32:19 UTC 2015


On Mon, 2015-10-12 at 09:59 +0200, Holger Freyther wrote:
> > 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.

...sorry, it seems that it never even executed the test on my new system
due to missing libgtp.

I'll send another patchset which solves this issue (and does the same
for gbproxy).

Daniel

-- 
- Daniel Willmann <dwillmann at sysmocom.de>       http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte




More information about the OpenBSC mailing list