diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2019-01-03 08:58:46 +0100 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2019-01-03 09:02:26 +0100 |
commit | 59c2799ace667fe952f68a5f0aa4ba9ca1e5523d (patch) | |
tree | 8b11dd846c9902a45b76bd9ae513f15af8be9631 /srcs/key_manager.c | |
parent | 0edb5247b441d2386fb416e0108e21f27b836f19 (diff) | |
download | libwebappenc-accepted/tizen_5.0_unified.tar.gz libwebappenc-accepted/tizen_5.0_unified.tar.bz2 libwebappenc-accepted/tizen_5.0_unified.zip |
Adjust format strings to new dlogsubmit/tizen_5.0/20190122.114721submit/tizen/20190103.090249accepted/tizen/unified/20190104.061340accepted/tizen/5.0/unified/20190130.053738tizen_5.0accepted/tizen_5.0_unified
Change-Id: Ie0843905a6a23f9225072bff7583f77350349537
Diffstat (limited to 'srcs/key_manager.c')
-rw-r--r-- | srcs/key_manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/srcs/key_manager.c b/srcs/key_manager.c index ac42db2..f4c049c 100644 --- a/srcs/key_manager.c +++ b/srcs/key_manager.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2016 - 2019 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ static int _serialize(const crypto_element_s *ce, ckmc_raw_buffer_s **pbuf) size_t total_len = sizeof(size_t) * 3 + ce->dek->size + ce->iv->size + sizeof(bool); - WAE_SLOGD("(serialization) total(%d) dek(%d) iv(%d) is_migrated(%d)", + WAE_SLOGD("(serialization) total(%zu) dek(%zu) iv(%zu) is_migrated(%d)", total_len, ce->dek->size, ce->iv->size, ce->is_migrated_app); unsigned char *_buf = (unsigned char *)malloc(total_len); @@ -97,7 +97,7 @@ static int _serialize(const crypto_element_s *ce, ckmc_raw_buffer_s **pbuf) pos += sizeof(bool); if (total_len != pos) { - WAE_SLOGE("(serialization) total len(%d) and actualy written byte(%d) " + WAE_SLOGE("(serialization) total len(%zu) and actualy written byte(%zu) " "isn't matched!", total_len, pos); ckmc_buffer_free(buf); return WAE_ERROR_UNKNOWN; @@ -126,7 +126,7 @@ static int _deserialize(const ckmc_raw_buffer_s *buf, crypto_element_s **pce) pos += sizeof(size_t); if (buf->size != total_len) { - WAE_SLOGE("(deserialization) total len(%d) and actualy written byte(%d) " + WAE_SLOGE("(deserialization) total len(%zu) and actualy written byte(%zu) " "isn't matched!", total_len, buf->size); return WAE_ERROR_UNKNOWN; } @@ -162,7 +162,7 @@ static int _deserialize(const ckmc_raw_buffer_s *buf, crypto_element_s **pce) memcpy(&is_migrated_app, buf->data + pos, sizeof(bool)); pos += sizeof(bool); - WAE_SLOGD("(deserialization) total(%d) dek(%d) iv(%d) is_migrated(%d)", + WAE_SLOGD("(deserialization) total(%zu) dek(%zu) iv(%zu) is_migrated(%d)", total_len, dek_size, iv_size, is_migrated_app); if (pos != buf->size) { |