aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/auth.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-21 22:28:22 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-22 01:12:26 +0100
commit8e5c63f032398ad45052b538890071919de8a20e (patch)
tree6e41449a31efcd21c4bd6dabf30f93f4e4f16a15 /openbsc/src/libmsc/auth.c
parent2cd36e87ae3e09e33225ac3b1ef4ca649f21f2f0 (diff)
cosmetic: whitespace, comment, rename static func rx_iu_event()
Diffstat (limited to 'openbsc/src/libmsc/auth.c')
-rw-r--r--openbsc/src/libmsc/auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c
index 322ea376b..3d036950f 100644
--- a/openbsc/src/libmsc/auth.c
+++ b/openbsc/src/libmsc/auth.c
@@ -113,11 +113,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 0;
break;
case AUTH_ALGO_COMP128v1:
if (_use_comp128_v1(&ainfo, atuple))
+ /* non-zero return value means failure */
return 0;
break;