git: mtree(8): Convert to LibreSSL hash API.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Apr 24 10:17:52 PDT 2019


commit a512a68cfd0a387f2f0cd67487cee6e85014fc84
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Apr 17 06:43:57 2019 +0300

    mtree(8): Convert to LibreSSL hash API.
    
    Add new function dohash() that handles md5, rmd160 and all sha variants.
    This change makes SHA384 available to use too. Utility is too complicated
    and need to be split up.
    
    While there, simplify crunchgen rescue build.

Summary of changes:
 usr.sbin/mtree/Makefile                          | 14 ++--
 usr.sbin/mtree/compare.c                         | 48 +++++-------
 usr.sbin/mtree/create.c                          | 45 +++++------
 usr.sbin/mtree/extern.h                          |  1 +
 libexec/ftpd/site_md5.c => usr.sbin/mtree/hash.c | 96 ++++++++++++++++++++----
 5 files changed, 128 insertions(+), 76 deletions(-)
 copy libexec/ftpd/site_md5.c => usr.sbin/mtree/hash.c (50%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a512a68cfd0a387f2f0cd67487cee6e85014fc84


-- 
DragonFly BSD source repository


More information about the Commits mailing list