summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:44:26 +0100
committerMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:52:30 +0100
commitb49767c0bacb714e14f988423e14832689c6faf2 (patch)
treed9263ecace61d37381854e4dcc5d41cc514173b2 /verifier.h
parentRemoved C-style casts (diff)
downloadandroid_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.gz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.bz2
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.lz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.xz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.zst
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.zip
Diffstat (limited to 'verifier.h')
-rw-r--r--verifier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/verifier.h b/verifier.h
index 6bee74947..6fa8f2b0a 100644
--- a/verifier.h
+++ b/verifier.h
@@ -26,13 +26,13 @@
#include <openssl/sha.h>
struct RSADeleter {
- void operator()(RSA* rsa) {
+ void operator()(RSA* rsa) const {
RSA_free(rsa);
}
};
struct ECKEYDeleter {
- void operator()(EC_KEY* ec_key) {
+ void operator()(EC_KEY* ec_key) const {
EC_KEY_free(ec_key);
}
};