diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-09-27 02:38:40 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-09-27 02:38:40 -0400 |
commit | b444c02886dc4d6588e42caedaac070837f2781f (patch) | |
tree | b953ff2d779841a5e9b618705a2f5f8ba55072f7 /secblock.h | |
parent | f99c470cff5901520be1c7b61eaa93fd77c9ee6d (diff) | |
download | cryptopp-git-b444c02886dc4d6588e42caedaac070837f2781f.tar.gz |
Remove unneeded size check (GH #875)
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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
|