This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 2dee60ef443343a297ffc1bfdb9321c6f7e07a3d (commit)
via ab4d509a830b21b85cc397aca119b8e8e0b96750 (commit)
via bd1dca0859dc9e3653c75af13501e59a587975ef (commit)
from 33eeeef9dcfb3103ddbbac756088825d38ce5f53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-hlr/commit/?id=2dee60ef443343a297ffc1bfdb9321c…
commit 2dee60ef443343a297ffc1bfdb9321c6f7e07a3d
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Nov 23 15:27:50 2017 +0100
db_test: also test db_get_auc() return values
Verify that it returns -ENOENT on non-existing IMSI and -ENOKEY for no auth
data.
Move the auc_compute_vectors() stub to the top near the db_get_auc() call, and
just return num_vec to get a successful return value when auth data is present.
Change-Id: Ic0158228afbd78b8ca21f62dffa9f868674682b9
http://cgit.osmocom.org/osmo-hlr/commit/?id=ab4d509a830b21b85cc397aca119b8e…
commit ab4d509a830b21b85cc397aca119b8e8e0b96750
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Nov 23 15:31:12 2017 +0100
osmo-hlr: log details for unknown IMSI / no auth data / db error
For unknown IMSI and no auth data for a known IMSI, log respective messages on
NOTICE level.
For database error, log on ERROR level.
Change-Id: I3838fa78567e7e92d797d90b8b90865d9ebba90a
http://cgit.osmocom.org/osmo-hlr/commit/?id=bd1dca0859dc9e3653c75af13501e59…
commit bd1dca0859dc9e3653c75af13501e59a587975ef
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Nov 23 15:25:30 2017 +0100
db_get_auth_data / db_get_auc: clarify return values
Differentiate between "IMSI unknown" and "IMSI has no auth data":
in case of
known IMSI lacking auth data, return -ENOKEY instead of -ENOENT.
Fix API doc comments to reflect what the functions actually return, on top of
adding the -ENOKEY detail.
Adjust db_test expectations from -ENOENT to -ENOKEY where appropriate.
Adjust VTY and CTRL command rc evaluation.
A subsequent patch will use these return values to log details on each of these
situations.
Change-Id: Icf6304d23585f2ed45e050fa27c787f2d66fd3f7
-----------------------------------------------------------------------
Summary of changes:
src/ctrl.c | 18 +++++++++++---
src/db_auc.c | 11 ++++++---
src/hlr.c | 10 ++++++++
src/hlr_vty_subscr.c | 19 ++++++++------
tests/db/db_test.c | 51 +++++++++++++++++++++++++++-----------
tests/db/db_test.err | 70 +++++++++++++++++++++++++++++++++++++++++++++-------
6 files changed, 140 insertions(+), 39 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT