Project

General

Profile

Actions

Bug #7945

closed

simplify bootadm_digest.c

Added by Dan McDonald over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-03-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The bootadm_digest.c file is more generalized than it needs to be because the boot archive hash is hardwired (currently SHA-1). Regardless of the wisdom of hardwiring, or the choice itself, these can be used to severely simplify bootadm_digest.c, and make bootadm have a smaller library-includes footprint. (I discovered this during the creation of the new OmniOS installer for ISO system.)

Actions

Also available in: Atom PDF