[sudo-commits] sudo changeset 10851:9213d8c94b8f

Todd C. Miller Todd.Miller at courtesan.com
Mon Feb 20 16:46:00 MST 2017


changeset:	10851:9213d8c94b8f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/9213d8c94b8f
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Feb 20 16:44:12 2017 -0700

Log Message:
	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.

diffstat:

 MANIFEST                      |    2 +
 plugins/sudoers/Makefile.in   |   26 ++++++-
 plugins/sudoers/digestname.c  |   50 ++++++++++++++
 plugins/sudoers/filedigest.c  |  142 ++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/ldap.c        |    6 +-
 plugins/sudoers/match.c       |  134 +++++++++------------------------------
 plugins/sudoers/parse.h       |    6 +
 plugins/sudoers/sssd.c        |    6 +-
 plugins/sudoers/visudo_json.c |   18 +-----
 9 files changed, 258 insertions(+), 132 deletions(-)


More information about the sudo-commits mailing list