diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-27 19:01:00 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-27 19:01:00 -0400 |
commit | f4882219922eef1261d30bb546ca8eb2aa37427f (patch) | |
tree | 43ebf04c891a6c0ee7b1d7fd06131a9ac26c4f77 /secblock.h | |
parent | 7c667bc71e599a89a669aeddaa39e12cf2dc059a (diff) | |
download | cryptopp-git-f4882219922eef1261d30bb546ca8eb2aa37427f.tar.gz |
Test align 16 for i386 and x86_64
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -220,7 +220,7 @@ public: SecureWipeArray((pointer)ptr, size);
#if CRYPTOPP_BOOL_ALIGN16
- if (T_Align16 && size*sizeof(T) >= 16)
+ if (T_Align16 && size)
return AlignedDeallocate(ptr);
#endif
@@ -242,7 +242,7 @@ public: SecureWipeArray((pointer)ptr, STDMIN(size, mark));
#if CRYPTOPP_BOOL_ALIGN16
- if (T_Align16 && size*sizeof(T) >= 16)
+ if (T_Align16 && size)
return AlignedDeallocate(ptr);
#endif
|