Skip to content

Commit

Permalink
simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 27, 2024
1 parent 39a89da commit 8862c52
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,8 @@ static VerificationResult verifySerialized(final Context context, final byte[] a
final byte[] compressedChain = new byte[compressedChainLength];
deserializer.get(compressedChain);

final Certificate[] certificates;
final int dictionary = R.raw.deflate_dictionary_4;
certificates = decodeChain(readRawResource(context, dictionary), compressedChain);
final Certificate[] certificates = decodeChain(readRawResource(context, dictionary), compressedChain);

final byte[] fingerprint = new byte[FINGERPRINT_LENGTH];
deserializer.get(fingerprint);
Expand Down

0 comments on commit 8862c52

Please sign in to comment.