diff -r 02ad5db5ad4d -r 38800d479cd4 libidav/pwdstore.c --- a/libidav/pwdstore.c Tue Dec 30 21:27:14 2025 +0100 +++ b/libidav/pwdstore.c Tue Dec 30 21:39:38 2025 +0100 @@ -411,11 +411,11 @@ } int pwdstore_has_id(PwdStore *s, const char *id) { - return cxMapGet(s->index, cx_hash_key_str(id)) ? 1 : 0; + return cxMapGet(s->index, id) ? 1 : 0; } PwdEntry* pwdstore_get(PwdStore *p, const char *id) { - PwdEntry *e = cxMapGet(p->ids, cx_hash_key_str(id)); + PwdEntry *e = cxMapGet(p->ids, id); if(e && e->user && e->password) { return e; } else { @@ -428,11 +428,11 @@ entry->id = strdup(id); entry->user = strdup(username); entry->password = strdup(password); - cxMapPut(p->ids, cx_hash_key_str(id), entry); + cxMapPut(p->ids, id, entry); } void pwdstore_put_index(PwdStore *p, char *id, CxList *locations) { - PwdIndexEntry *e = cxMapGet(p->index, cx_hash_key_str(id)); + PwdIndexEntry *e = cxMapGet(p->index, id); if(e) { return; } @@ -445,7 +445,7 @@ newentry->locations = NULL; cxListAdd(p->noloc, newentry); } - cxMapPut(p->index, cx_hash_key_str(id), newentry); + cxMapPut(p->index, id, newentry); } void write_index_entry(CxBuffer *out, PwdIndexEntry *e) {