authsrv: log message when no AES key is found for pak
This commit is contained in:
parent
4e04e03142
commit
83de8c0f5f
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ pak1(char *u, Keyslot *k)
|
|||
|
||||
safecpy(k->id, u, sizeof(k->id));
|
||||
if(!findkey(KEYDB, k->id, k) || tsmemcmp(k->aes, zeros, AESKEYLEN) == 0) {
|
||||
syslog(0, AUTHLOG, "pak-fail no AES key for id %s", k->id);
|
||||
/* make one up so caller doesn't know it was wrong */
|
||||
mkkey(k->id, k);
|
||||
authpak_hash(k, k->id);
|
||||
|
|
Loading…
Reference in a new issue