diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-15 06:05:16 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-15 06:05:16 +0000 |
commit | fbe028edacee6a9c34f5debe6de7a8bbf08d21ab (patch) | |
tree | 5f2cc5873f93d7787eed3edf622c6b29db01cc03 /libc | |
parent | ec0a208a6ef7a6b67c2f2d3b23c848ed60922da6 (diff) | |
download | pw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.tar.gz pw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.tar.zst pw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.zip |
pw(8): r326738 broke expiration arithmetic in case of `-D' flag not supplied.
Fix it and rename misnamed time_t variables `expire_days, password_days'
(always holding absolute time) to `expire_time, password_time'.
Add a comment for a case of overloading `cmdcnf->password_days'
and `cmdcnf->expire_days' with absolute time.
Reported by: markj
Approved by: mav (mentor)
MFC after: 1 week
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions