420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
|
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
+
+
+
+
+
+
+
+
+
-
+
|
# removed prior to signing the (script?) file.
#
if {$shouldEmbed && \
![info exists no(removeEmbeddedCertificate)]} then {
removeEmbeddedCertificate $fileName
}
#
# NOTE: By default, when a ".harpy" file itself is passed to this
# signing tool, treat it specially, i.e. simply update its
# timestamp and (re-)sign it.
#
if {![info exists harpyIsSpecial]} then {
set harpyIsSpecial true
}
#
# NOTE: If the file is an XML file, assume it is a license
# certificate that we need to manually re-sign.
#
if {[file extension $fileName] eq ".harpy"} then {
if {$harpyIsSpecial && [file extension $fileName] eq ".harpy"} then {
#
# NOTE: Set the file type for error messages.
#
set fileType "certificate file"
#
# NOTE: In this case, the certificate file to export is the same
|