libtomcrypt icon indicating copy to clipboard operation
libtomcrypt copied to clipboard

Avoid zero length array with LTC_BASE64_URL unset

Open mkj opened this issue 4 years ago • 2 comments

If LTC_BASE64_URL is unset it creates a zero length array, which isn't allowed by some compilers

mkj avatar Jun 10 '20 14:06 mkj

I've implemented a different version of this patch. Can you please have a look whether this would also be acceptable for you?

https://github.com/libtom/libtomcrypt/tree/fix-b64-zero-length-array

sjaeckel avatar Sep 06 '20 15:09 sjaeckel

I think @sjaeckel 's patch https://github.com/libtom/libtomcrypt/commit/d20fdcc76d6b78059af4b847b428bd34972883ce is slightly better

karel-m avatar Apr 11 '21 11:04 karel-m