aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_auc.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-21log: move a log from info to debug levelNeels Hofmeyr1-1/+1
This basically duplicates an info log further below that says "Generated..." Change-Id: I32f22f71adc6dc2fbc7bcca5d277337baef3cd6d
2016-12-11fix various compiler warningsNeels Hofmeyr1-4/+4
Change-Id: I3bf3b351535843bde9c0c1d955315615bb7c30b2
2016-05-05AUC: use osmo_hexparse() when reading key material from dbHarald Welte1-4/+6
The database stores the key material as hex-ascii, we thus need to go through osmo_hexparse() when reading. We could also store the material as BLOB in the database. That would however complicate matters, as it would basically mean using the sqlite3 command to manually inspect/modify data from the console would no longer be easily possible. Using this commit I have 2G authentication working against osmo-sgsn with GSUP and 'auth policy remote'.
2016-05-05AUC: Differentiate between actual error and unknown IMSIHarald Welte1-10/+29
When responding to a SendAuthInfo.req, we need to differentiate an error case caused by an unknown IMSI, or an error caused by an error regarding accessing the database or data integrity.
2016-05-03db_auc: remove some debugging code about column typesHarald Welte1-4/+0
2016-04-28initial import of osmo-gsup-hlr code so farHarald Welte1-0/+208