summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-09-27 02:38:40 -0400
committerJeffrey Walton <noloader@gmail.com>2019-09-27 02:38:40 -0400
commitb444c02886dc4d6588e42caedaac070837f2781f (patch)
treeb953ff2d779841a5e9b618705a2f5f8ba55072f7 /secblock.h
parentf99c470cff5901520be1c7b61eaa93fd77c9ee6d (diff)
downloadcryptopp-git-b444c02886dc4d6588e42caedaac070837f2781f.tar.gz
Remove unneeded size check (GH #875)
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/secblock.h b/secblock.h
index 361fb94c..813106d2 100644
--- a/secblock.h
+++ b/secblock.h
@@ -204,8 +204,8 @@ public:
return NULLPTR;
#if CRYPTOPP_BOOL_ALIGN16
- // TODO: Does this need the test 'size*sizeof(T) >= 16'?
- if (T_Align16 && size)
+ // TODO: Does this need to test 'size*sizeof(T) >= 16'?
+ if (T_Align16)
return reinterpret_cast<pointer>(AlignedAllocate(size*sizeof(T)));
#endif