summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2017-04-22 17:15:03 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-08 14:12:48 -0400
commit8527fc2b9549b9b6782fdffde29ff8713e677bc4 (patch)
treeeb277c60fcf28eec2116546c2ce4be6ca4a53144 /src/usr/targeting/common
parentb93bb1c4e5151e309231a6b667bc98deaf98572f (diff)
downloadblackbird-hostboot-8527fc2b9549b9b6782fdffde29ff8713e677bc4.tar.gz
blackbird-hostboot-8527fc2b9549b9b6782fdffde29ff8713e677bc4.zip
Support gracefully adding signing headers to PNOR sections
Change-Id: Ie8ce7672a41c0b6230918911f59ada5443c552f5 RTC: 170650 CMVC-Coreq: 1022416 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39869 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/xmltohb.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl
index a05196b84..0ca61f5e9 100755
--- a/src/usr/targeting/common/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/common/xmltohb/xmltohb.pl
@@ -6138,8 +6138,8 @@ sub generateTargetingImage {
$md5hex->add($associationsBinData);
$md5hex->add($heapPnorInitBinData);
- my $versionHeader = "VERSION";
- my $versionHeader .= $md5hex->hexdigest;
+ my $versionHeader = "VERSION\0";
+ $versionHeader .= $md5hex->hexdigest;
$outFile .= $versionHeader;
my $versionHeaderPadSize =
OpenPOWER on IntegriCloud