On Wed, Mar 30, 2016 at 02:21:52PM +0200, Harald Welte wrote:
On Wed, Mar 30, 2016 at 11:22:24AM +0200, Neels Hofmeyr wrote:
Add basic MM Authentication test setup, with fake DB access and RAND_bytes().
I'm sorry, but it doesn't seem to apply to current master ?
I get a warning about a (super dangerous!) blank line at EOF, which is in openbsc/tests/testuite.at, otherwise it applies:
▶ git am /tmp/m Applying: Add MM Auth test; add auth_action_str() function /n/s/osmo/git/openbsc/.git/rebase-apply/patch:276: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: MM Auth test: add two tests for AUTH_THEN_CIPH Applying: MM Auth test: add test to re-use existing auth Applying: MM Auth: introduce AUTH_ERROR constant. Applying: MM Auth: return AUTH_NOT_AVAIL instead of hardcoded zero Applying: Fix MM Auth: disallow key_seq mismatch Applying: Fix MM Auth: zero-initialize auth tuple before first use
I can re-post without that blank line if you like. Let me know...
~Neels