Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

[revert me] use host openssl command instead of macro #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,11 @@ CIC_PADDED_VERITY_CERT := $(keys4cic_intermediates)/verity.padded.cer
CIC_OEMCERT_OBJ := $(keys4cic_intermediates)/oemcert.o

$(CIC_VERITY_CERT): $(INTEL_PATH_BUILD)/testkeys/xbl_default.x509.pem
$(transform-pem-cert-to-der-cert)
#$(transform-pem-cert-to-der-cert)
@echo "PEM key: $(notdir $@) <= $(notdir $<)"
$(hide) mkdir -p $(dir $@)
@echo "openssl pkcs8 -inform DER -outform PEM -nocrypt -in $< -out $@"
$(hide) openssl pkcs8 -inform DER -outform PEM -nocrypt -in $< -out $@

$(CIC_PADDED_VERITY_CERT): $(CIC_VERITY_CERT)
$(call pad-binary, 4096)
Expand Down