mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
bug 1079858: switch to SHA-2 authenticode signatures. r=catlee
This commit is contained in:
parent
d0e6114c5e
commit
176963d18e
@ -8,8 +8,8 @@ ifndef MOZ_PROFILE_GENERATE
|
||||
# Signing support
|
||||
ifdef MOZ_SIGN_CMD
|
||||
ifeq (WINNT,$(OS_ARCH))
|
||||
MOZ_INTERNAL_SIGNING_FORMAT := osslsigncode
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := osslsigncode
|
||||
MOZ_INTERNAL_SIGNING_FORMAT := sha2signcode
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := sha2signcode
|
||||
SIGN_INCLUDES := \
|
||||
'*.dll' \
|
||||
'*.exe' \
|
||||
|
@ -151,8 +151,8 @@ MAKE_SDK = $(CREATE_FINAL_TAR) - $(MOZ_APP_NAME)-sdk | bzip2 -vf > $(SDK)
|
||||
endif
|
||||
ifeq ($(MOZ_PKG_FORMAT),ZIP)
|
||||
ifdef MOZ_EXTERNAL_SIGNING_FORMAT
|
||||
# We can't use osslsigncode on zip files
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := $(filter-out osslsigncode,$(MOZ_EXTERNAL_SIGNING_FORMAT))
|
||||
# We can't use sha2signcode on zip files
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := $(filter-out sha2signcode,$(MOZ_EXTERNAL_SIGNING_FORMAT))
|
||||
endif
|
||||
PKG_SUFFIX = .zip
|
||||
INNER_MAKE_PACKAGE = $(ZIP) -r9D $(PACKAGE) $(MOZ_PKG_DIR) \
|
||||
|
@ -46,8 +46,8 @@ include $(topsrcdir)/toolkit/mozapps/installer/signing.mk
|
||||
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
||||
|
||||
ifdef MOZ_EXTERNAL_SIGNING_FORMAT
|
||||
# We can't use osslsigncode on mar files
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := $(filter-out osslsigncode,$(MOZ_EXTERNAL_SIGNING_FORMAT))
|
||||
# We can't use sha2signcode on mar files
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := $(filter-out sha2signcode,$(MOZ_EXTERNAL_SIGNING_FORMAT))
|
||||
MOZ_EXTERNAL_SIGNING_FORMAT := mar $(MOZ_EXTERNAL_SIGNING_FORMAT)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user