aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-02 11:56:26 +0200
committerSimon Warta <[email protected]>2015-07-03 10:21:26 +0200
commitccb78bbd2757628557cf9af9658ef44a195a5a8c (patch)
treec9536f384252545859356d71601083540d4aff01 /src
parent030bb279cdb1f3a0bff1a0d09d264c9f029c393f (diff)
s/auto/size_t/
Diffstat (limited to 'src')
-rw-r--r--src/lib/mac/poly1305/poly1305.cpp2
-rw-r--r--src/lib/math/bigint/bigint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/mac/poly1305/poly1305.cpp b/src/lib/mac/poly1305/poly1305.cpp
index 506150b0f..659667baf 100644
--- a/src/lib/mac/poly1305/poly1305.cpp
+++ b/src/lib/mac/poly1305/poly1305.cpp
@@ -190,7 +190,7 @@ void Poly1305::final_result(byte out[])
if(m_buf_pos != 0)
{
m_buf[m_buf_pos] = 1;
- const auto len = m_buf.size() - m_buf_pos - 1;
+ const size_t len = m_buf.size() - m_buf_pos - 1;
if (len > 0)
{
clear_mem(&m_buf[m_buf_pos+1], len);
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h
index fed986882..4a37425f5 100644
--- a/src/lib/math/bigint/bigint.h
+++ b/src/lib/math/bigint/bigint.h
@@ -278,7 +278,7 @@ class BOTAN_DLL BigInt
if(top_word < size())
{
- const auto len = size() - (top_word + 1);
+ const size_t len = size() - (top_word + 1);
if (len > 0)
{
clear_mem(&m_reg[top_word+1], len);