summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2017-11-23 13:18:21 +0900
committerDong Sun Lee <ds73.lee@samsung.com>2017-11-23 04:27:22 +0000
commita0309ce85cd8d2ec57c99e3c96e9bb5eb7be7a39 (patch)
treecf1441b78938245ae9a9ba54294e78e06d1fb2eb
parent7f4862db349949b618a7866447bf95040cd4a5c8 (diff)
downloadpubkey-pinning-accepted/tizen_3.0_tv.tar.gz
pubkey-pinning-accepted/tizen_3.0_tv.tar.bz2
pubkey-pinning-accepted/tizen_3.0_tv.zip
Change-Id: If0f1ed9896d96a6b1a73ece11e30b589c5f76345 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com> (cherry picked from commit d1c05c4dccf51f79ea2e429406b4c180f95cb30a)
-rw-r--r--src/common/src/tpkp_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/tpkp_common.cpp b/src/common/src/tpkp_common.cpp
index 0102d36..0416cfd 100644
--- a/src/common/src/tpkp_common.cpp
+++ b/src/common/src/tpkp_common.cpp
@@ -168,7 +168,7 @@ bool Context::Impl::HashValuesEqual::operator()(const HashValue &other) const
return false;
for (size_t i = 0; i < len; i++) {
- if (m_chash[i] != other.hash[i])
+ if (m_chash[i] != static_cast<char>(other.hash[i]))
return false;
}