[sudo-commits] sudo changeset 9420:cd02732f0704
Todd C. Miller
Todd.Miller at courtesan.com
Wed Apr 9 16:31:17 MDT 2014
changeset: 9420:cd02732f0704 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/cd02732f0704
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Wed Apr 09 16:31:13 2014 -0600
Log Message:
Move the sha2 code into libreplace and add configure checks for
SHA224Update in libc and libmd. Solaris uses "void *" where we use
"unsigned char *" so we need a check for that too. Solaris sha2.h
defines SHA224, SHA256, SHA384, and SHA512 so rename those tokens.
Adapted from changes from Vladimir Marek in bug #641.
diffstat:
MANIFEST | 4 +-
common/Makefile.in | 10 +-
compat/Makefile.in | 4 +-
compat/sha2.c | 526 +++++++++++++++++++++++++
compat/sha2.h | 74 +++
config.h.in | 7 +
configure | 150 +++++++
configure.ac | 12 +
m4/sudo.m4 | 18 +
plugins/sudoers/Makefile.in | 40 +-
plugins/sudoers/gram.c | 22 +-
plugins/sudoers/gram.h | 8 +-
plugins/sudoers/gram.y | 16 +-
plugins/sudoers/match.c | 11 +-
plugins/sudoers/regress/parser/check_digest.c | 11 +-
plugins/sudoers/regress/sudoers/test14.toke.ok | 6 +-
plugins/sudoers/sha2.c | 526 -------------------------
plugins/sudoers/sha2.h | 74 ---
plugins/sudoers/toke.c | 170 ++++---
plugins/sudoers/toke.l | 22 +-
20 files changed, 962 insertions(+), 749 deletions(-)
More information about the sudo-commits
mailing list