514:4b84437b2167 | 515:2465dd550bb5 |
---|---|
230 } | 230 } |
231 | 231 |
232 int pwdstore_setpassword(PwdStore *p, const char *password) { | 232 int pwdstore_setpassword(PwdStore *p, const char *password) { |
233 DavKey *key = dav_pw2key( | 233 DavKey *key = dav_pw2key( |
234 password, | 234 password, |
235 p->content->space + 4, | 235 (unsigned char*)(p->content->space + 4), |
236 16, | 236 16, |
237 PWDS_PWFUNC(p), | 237 PWDS_PWFUNC(p), |
238 PWDS_ENC(p)); | 238 PWDS_ENC(p)); |
239 if(!key) { | 239 if(!key) { |
240 return 1; | 240 return 1; |