From cbe93e6506df0d89007d504f47d60a7a37e02475 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Fri, 19 Oct 2018 17:23:21 -0700 Subject: Remove the load_keys function This function is used to parse the result of dumpKeys. It's no longer needed as we are now parsing the public keys from the zipfile. Bug: 116655889 Test: unit tests pass Change-Id: I817906e451664058c644f4329ff499bbe4587ebb --- verifier.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'verifier.h') diff --git a/verifier.h b/verifier.h index 944823293..df9a4b648 100644 --- a/verifier.h +++ b/verifier.h @@ -70,8 +70,6 @@ struct Certificate { int verify_file(const unsigned char* addr, size_t length, const std::vector& keys, const std::function& set_progress = nullptr); -bool load_keys(const char* filename, std::vector& certs); - // Checks that the RSA key has a modulus of 2048 bits long, and public exponent is 3 or 65537. bool CheckRSAKey(const std::unique_ptr& rsa); -- cgit v1.2.3