summaryrefslogtreecommitdiffstats
path: root/km_openssl/block_cipher_operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'km_openssl/block_cipher_operation.cpp')
-rw-r--r--km_openssl/block_cipher_operation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/km_openssl/block_cipher_operation.cpp b/km_openssl/block_cipher_operation.cpp
index 20bd2a6..91440ea 100644
--- a/km_openssl/block_cipher_operation.cpp
+++ b/km_openssl/block_cipher_operation.cpp
@@ -78,7 +78,7 @@ static keymaster_error_t GetAndValidateGcmTagLength(const AuthorizationSet& begi
OperationPtr BlockCipherOperationFactory::CreateOperation(Key&& key,
const AuthorizationSet& begin_params,
- keymaster_error_t* error) {
+ keymaster_error_t* error) const {
*error = KM_ERROR_OK;
keymaster_block_mode_t block_mode;
if (!begin_params.GetTagValue(TAG_BLOCK_MODE, &block_mode)) {