]> git.ipfire.org Git - thirdparty/shadow.git/commit
chpasswd: add IS_CRYPT_METHOD
authorjuyin <zhuyan34@huawei.com>
Sat, 2 Apr 2022 03:48:51 +0000 (11:48 +0800)
committerSerge Hallyn <serge@hallyn.com>
Mon, 4 Apr 2022 02:07:09 +0000 (21:07 -0500)
commit9cdb5251b6c30487a7d935a1a7827f493249479d
tree671e13db250a0656d962d7db2cf8e90154505ef1
parent3c1e5fcf161e28bb4e592e732ce36e10696fc9e9
chpasswd: add IS_CRYPT_METHOD

Use macro IS_CRYPT_METHOD instead of ’strcmp(crypt_method, xx)==0’ to make the code more cleanup
src/chpasswd.c