#include "mem.h"
#include "log.h"
#include "printf.h"
-#include "mime.h"
+#include "base64.h"
#include "configuration.h"
#include "kvp.h"
#include "rights.h"
}
password = kvp_get(k, "password");
if(!password) password = "";
- if(parse_rights(kvp_get(k, "rights"), rights))
+ if(parse_rights(kvp_get(k, "rights"), rights, 1))
return 0;
/* construct the expected subject. We re-encode the timestamp and the
* password. */