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

Skip to content
Commit 931774dc authored by David Duarte's avatar David Duarte Committed by Cherrypicker Worker
Browse files

Cert: Fix cert security accepting any hci events

Some HciMatchers function where returning a function
that return a function instead of a function
that return a boolean. A function being a truthy value
in python, the matching function was accepting
anything given as input.

This bug hid an incorrect implementation
of CertSecurity.accept_pairing.

Test: gd/cert/run SecurityTest
(cherry picked from https://android-review.googlesource.com/q/commit:04902ef3f685826ed3642bc571c97d213c0712eb)
Merged-In: I7f0cfaec6deb0361a3d1e7790b1158c2bcf5ebfd
Change-Id: I7f0cfaec6deb0361a3d1e7790b1158c2bcf5ebfd
parent 5d470104
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment