Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c54158d3 authored by Pete Bentley's avatar Pete Bentley
Browse files

Remove -sha256 flag when calling bssl_inject_hash.

Cherry-pick note: Needed for the BoringSSL change in the same topic due to build flag changes.

Flag removed upstream, all platforms now use SHA-256
for libcrypto integrity hash.

Test: m && flashall
Change-Id: I453edebb80ec2a853d54ce5c3f055b6456010524
(cherry picked from commit c0d89b3d)
Merged-In: I453edebb80ec2a853d54ce5c3f055b6456010524
parent 39a9db3b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2437,7 +2437,6 @@ func maybeInjectBoringSSLHash(ctx android.ModuleContext, outputFile android.Modu
		rule := android.NewRuleBuilder(pctx, ctx)
		rule.Command().
			BuiltTool("bssl_inject_hash").
			Flag("-sha256").
			FlagWithInput("-in-object ", outputFile).
			FlagWithOutput("-o ", hashedOutputfile)
		rule.Build("injectCryptoHash", "inject crypto hash")