From 3df60995e186a4284332474ed364e7643aff6f74 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 30 Mar 2016 16:49:21 -0700 Subject: nit pick... might this matter? --- node/Utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node') diff --git a/node/Utils.hpp b/node/Utils.hpp index 17c00459..3f4cc765 100644 --- a/node/Utils.hpp +++ b/node/Utils.hpp @@ -51,9 +51,9 @@ public: static inline bool secureEq(const void *a,const void *b,unsigned int len) throw() { - char diff = 0; + uint8_t diff = 0; for(unsigned int i=0;i(a))[i] ^ (reinterpret_cast(b))[i] ); + diff |= ( (reinterpret_cast(a))[i] ^ (reinterpret_cast(b))[i] ); return (diff == 0); } -- cgit v1.2.3