diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-12 16:03:09 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-12 16:05:05 +0100 |
commit | 6d9e14d28cae9c5f619adc5b571674b6ed7db271 (patch) | |
tree | 146adbf4581651975832dc3a66b51927c9537300 /openbsc/src/libmsc/auth.c | |
parent | b6db8d0efb3350f4ed24943366ccffdabdb392bf (diff) |
Iu auth wip
Change-Id: I44effcca80dc6850178174dc957bcd5608b0ae14
Diffstat (limited to 'openbsc/src/libmsc/auth.c')
-rw-r--r-- | openbsc/src/libmsc/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c index 9191ae8b3..cc96e8f28 100644 --- a/openbsc/src/libmsc/auth.c +++ b/openbsc/src/libmsc/auth.c @@ -91,8 +91,6 @@ int auth_get_tuple_for_subscr(struct gsm_auth_tuple *atuple, /* Get subscriber info (if any) */ rc = db_get_authinfo_for_subscr(&ainfo, subscr); if (rc < 0) { - LOGP(DMM, LOGL_NOTICE, - "No retrievable Ki for subscriber, skipping auth\n"); return rc == -ENOENT ? AUTH_NOT_AVAIL : AUTH_ERROR; } @@ -134,11 +132,13 @@ int auth_get_tuple_for_subscr(struct gsm_auth_tuple *atuple, case AUTH_ALGO_XOR: if (_use_xor(&ainfo, atuple)) + /* non-zero return value means failure */ return AUTH_NOT_AVAIL; break; case AUTH_ALGO_COMP128v1: if (_use_comp128_v1(&ainfo, atuple)) + /* non-zero return value means failure */ return AUTH_NOT_AVAIL; break; |