Since recently I have two boxes I work with and have repositories on,
so yesterday I reposted the same patch as the first time and marked it as
v2.
v2 was still waiting in remote and I failed to pull it before submitting.
And ... I'd have submitted v2 yesterday noon, but some mail setup on the
other box was still broken :P
Well, I hope this teaches me to pay more attention now.
Sorry for the noise!
~Neels
On Wed, Mar 30, 2016 at 12:45:35AM +0200, Neels Hofmeyr wrote:
Changes to previous version:
* Use struct value_string[] instead of switch{} for auth_action_str().
* Tweak first and last patch's log message.
Neels Hofmeyr (7):
Add MM Auth test; add auth_action_str() function
MM Auth test: add two tests for AUTH_THEN_CIPH
MM Auth test: add test to re-use existing auth
MM Auth: introduce AUTH_ERROR constant.
MM Auth: return AUTH_NOT_AVAIL instead of hardcoded zero
Fix MM Auth: disallow key_seq mismatch
Fix MM Auth: zero-initialize auth tuple before first use
openbsc/.gitignore | 1 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/auth.h | 18 ++
openbsc/src/libmsc/auth.c | 24 ++-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/mm_auth/Makefile.am | 21 +++
openbsc/tests/mm_auth/mm_auth_test.c | 340 ++++++++++++++++++++++++++++++++++
openbsc/tests/mm_auth/mm_auth_test.ok | 40 ++++
openbsc/tests/testsuite.at | 7 +
9 files changed, 446 insertions(+), 8 deletions(-)
create mode 100644 openbsc/tests/mm_auth/Makefile.am
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.c
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.ok
--
2.1.4
--
- Neels Hofmeyr <nhofmeyr(a)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
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte