libtom / libtomcrypt

LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
https://www.libtom.net
Other
1.55k stars 457 forks source link

Cleanup and fixes #560

Closed sjaeckel closed 3 years ago

sjaeckel commented 3 years ago

Some housekeeping and fixes

karel-m commented 3 years ago

The branch cleanup-and-fixes fails to build with cygwin + gcc-10.2.0

  * cc src/ciphers/camellia.o
In file included from ./src/headers/tomcrypt.h:78,
                 from ./src/headers/tomcrypt_private.h:4,
                 from src/ciphers/aes/aes.c:25:
./src/headers/tomcrypt_cfg.h:10: error: unterminated #ifndef
   10 | #ifndef TOMCRYPT_CFG_H
      |
sjaeckel commented 3 years ago

The branch cleanup-and-fixes fails to build with cygwin + gcc-10.2.0

what the ... 5bfa8a3 apparently uncovered that tomcrypt_cfg.h was "broken" for how long exactly? :D

... not really broken, but the include guards didn't do what they promised ...

sjaeckel commented 3 years ago

@mkj do you maybe want to have a look as well?