View | Details | Raw Unified | Return to bug 144652
Collapse All | Expand All

(-)usr.sbin/pwd_mkdb/pwd_mkdb.c (-5 / +6 lines)
Lines 555-565 Link Here
555
					error("put");
555
					error("put");
556
			}
556
			}
557
		}
557
		}
558
		/* Create original format password file entry */
558
		/* Create original format password file entry.
559
		if (is_comment && makeold){	/* copy comments */
559
		 * Don't copy comments since this could reveal
560
			if (fprintf(oldfp, "%s\n", line) < 0)
560
		 * encrypted passwords if entries have been
561
				error("write old");
561
		 * simply commented out in master.passwd.
562
		} else if (makeold) {
562
		 */
563
		if( makeold && !is_comment ) {
563
			char uidstr[20];
564
			char uidstr[20];
564
			char gidstr[20];
565
			char gidstr[20];

Return to bug 144652