aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Lappo2017-03-23 15:44:26 -0500
committerMikhail Lappo2017-03-23 15:52:30 -0500
commitb49767c0bacb714e14f988423e14832689c6faf2 (patch)
treed9263ecace61d37381854e4dcc5d41cc514173b2 /verifier.cpp
parent20791bdcd7caad0e3ad3adedf7f9f932da278d96 (diff)
downloadplatform-bootable-recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.gz
platform-bootable-recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.xz
platform-bootable-recovery-b49767c0bacb714e14f988423e14832689c6faf2.zip
Const modifiers
This functions do not change class variables Would be good to mark them as const, so class variables are not changed by coincidence Change-Id: Iea34f6d26dbd1bde813035160e07ff2a681989e6
Diffstat (limited to 'verifier.cpp')
-rw-r--r--verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/verifier.cpp b/verifier.cpp
index e9d540cd..23142c12 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -370,7 +370,7 @@ std::unique_ptr<RSA, RSADeleter> parse_rsa_key(FILE* file, uint32_t exponent) {
370} 370}
371 371
372struct BNDeleter { 372struct BNDeleter {
373 void operator()(BIGNUM* bn) { 373 void operator()(BIGNUM* bn) const {
374 BN_free(bn); 374 BN_free(bn);
375 } 375 }
376}; 376};