Fix cert blacklisting by public key

Previously, public keys were compared to the blacklisted keys
by a HashSet.compare(), which compares by reference. This replaces
that with the correct Arrays.equals check.

(cherry picked from commit ea82c4ad99e7fa267c4bfa05f6f8312f85ceb8ce)
(cherry picked from commit 806ca813c0327a5d673914883853f55440b39cc7)

Bug: http://code.google.com/p/android/issues/detail?id=35547
Change-Id: I5394d2999dd29fabf76e5d4492b0c188b3cd6c51
1 file changed