summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-24 21:34:37 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 21:34:37 +0100
commitd51bd8770a7bce1d2ead5b30e7bce71ea93b6af4 (patch)
tree0feff3c2e55eb9be9731cd46bf657a1bd0cd6c25 /verifier.h
parentMerge "Removed C-style casts" am: 110155a604 (diff)
parentMerge "Const modifiers" (diff)
downloadandroid_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar.gz
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar.bz2
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar.lz
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar.xz
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.tar.zst
android_bootable_recovery-d51bd8770a7bce1d2ead5b30e7bce71ea93b6af4.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);
}
};