libcotp
libcotp copied to clipboard
Fix name clashes and validation API compilation
Fix minor issues we've had using libcotp.
Add the COTP_ENABLE_VALIDATION macro after the add_library call.
Rename the SHA1, SHA256, and SHA512 macros so that they bear a library prefix. We've run into name collisions with POCO. Technically this change breaks backwards compatibility.