Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_9_BASE
Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 18 16:44:46 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)
Add _shadow variants to the two popular getpw functions (uid and nam). This version of the function will always open the secure/shadow/master password files. Soon, the regular variants of these functions will not. (Intermixing shadow and regular gets a little weird; don't do that.) Not using struct spwd and getspwnam functions to reduce churn in callers. Should just be a one line diff in most places. ok deraadt