aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-10 23:30:37 +0100
committerHarald Welte <laforge@gnumonks.org>2016-03-17 14:15:16 +0100
commitd2fa7a509a989bb775b56932502d128ec974330d (patch)
treeac1b91a86b068b4c04f5bb40ac3e34974d2d37ff /openbsc/src/libmsc
parentf4afcf0b2345a51d3e69c4dbb61279af233388cf (diff)
fix confusing typo in constant (THAN -> THEN)
Diffstat (limited to 'openbsc/src/libmsc')
-rw-r--r--openbsc/src/libmsc/auth.c2
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c
index 0a2f59e36..65a9b03c4 100644
--- a/openbsc/src/libmsc/auth.c
+++ b/openbsc/src/libmsc/auth.c
@@ -132,6 +132,6 @@ int auth_get_tuple_for_subscr(struct gsm_auth_tuple *atuple,
db_sync_lastauthtuple_for_subscr(atuple, subscr);
DEBUGP(DMM, "Need to do authentication and ciphering\n");
- return AUTH_DO_AUTH_THAN_CIPH;
+ return AUTH_DO_AUTH_THEN_CIPH;
}
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 1a1d6f2d4..1524ec44f 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -231,7 +231,7 @@ int gsm48_secure_channel(struct gsm_subscriber_connection *conn, int key_seq,
/* FIXME: Should start a timer for completion ... */
/* Then do whatever is needed ... */
- if (rc == AUTH_DO_AUTH_THAN_CIPH) {
+ if (rc == AUTH_DO_AUTH_THEN_CIPH) {
/* Start authentication */
return gsm48_tx_mm_auth_req(conn, op->atuple.rand, op->atuple.key_seq);
} else if (rc == AUTH_DO_CIPH) {