Project

General

Profile

Bug #7945

simplify bootadm_digest.c

Added by Dan McDonald about 3 years ago. Updated almost 3 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

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.)

History

#1

Updated by Electric Monk almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 703ced3896c5138ab30a9a5e0be538cbbd524767

commit  703ced3896c5138ab30a9a5e0be538cbbd524767
Author: Dan McDonald <danmcd@omniti.com>
Date:   2017-04-06T20:51:01.000Z

    7945 simplify bootadm_digest.c
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF