]> granicus.if.org Git - sudo/commit
Move the file digest code out of match.c and into filedigest.c.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Feb 2017 23:44:12 +0000 (16:44 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Feb 2017 23:44:12 +0000 (16:44 -0700)
commitb5e7b7bd2cdd208d5905a9d305d9646503c35029
treed8af2513cbf69e432c48ee80510c7fe78ee3fa7d
parent00b76afe46de2a7e43076061b8212898a8d76966
Move the file digest code out of match.c and into filedigest.c.
Inspired by RedHat changes that used libgcrypt.
Also add digest_type_to_name() to map a sudo digest type (int)
to a name (string) and use it.
MANIFEST
plugins/sudoers/Makefile.in
plugins/sudoers/digestname.c [new file with mode: 0644]
plugins/sudoers/filedigest.c [new file with mode: 0644]
plugins/sudoers/ldap.c
plugins/sudoers/match.c
plugins/sudoers/parse.h
plugins/sudoers/sssd.c
plugins/sudoers/visudo_json.c