Browse code

fix error reporting for pwdb signature loading

Kevin Lin authored on 2015/10/27 00:47:25
Showing 1 changed files
... ...
@@ -4166,6 +4166,7 @@ static int cli_loadpwdb(FILE *fs, struct cl_engine *engine, unsigned int options
4166 4166
         ret = init_tdb(&tdb, engine, attribs, passname);
4167 4167
         free(attribs);
4168 4168
         if(ret != CL_SUCCESS) {
4169
+            skip++;
4169 4170
             if (ret == CL_BREAK)
4170 4171
                 continue;
4171 4172
             else