src/server/daemon/keyfile_auth.c

changeset 579
e10457d74fe1
parent 490
d218607f5a7e
equal deleted inserted replaced
578:eb48f716b31c 579:e10457d74fe1
62 enum KeyfileHashType hash_type, 62 enum KeyfileHashType hash_type,
63 cxmutstr hash, 63 cxmutstr hash,
64 cxmutstr *groups, 64 cxmutstr *groups,
65 size_t ngroups) 65 size_t ngroups)
66 { 66 {
67 const CxAllocator *a = keyfile->users->allocator; 67 const CxAllocator *a = keyfile->users->collection.allocator;
68 68
69 if(hash.length < 12) { 69 if(hash.length < 12) {
70 // hash too short 70 // hash too short
71 // TODO: log 71 // TODO: log
72 return -1; 72 return -1;

mercurial