Lines Matching defs:buf2
267 char *buf2;
268 buf2 = malloc(length);
269 if (buf2 == NULL) {
273 ret = read_string("Verify password - ", prompt, buf2, length, 0);
275 free(buf2);
278 if (strcmp(buf2, buf) != 0) {
281 memset(buf2, 0, length);
282 free(buf2);
299 char *buf2;
300 buf2 = malloc(length);
301 if (buf2 == NULL) {
305 ret = read_string("Verify password - ", prompt, buf2, length, FLAG_USE_STDIO);
307 free(buf2);
310 if (strcmp(buf2, buf) != 0) {
313 memset(buf2, 0, length);
314 free(buf2);