In libtomcrypt 1.18 the LTC_LTC_PKCS_1_* constants were renamed to LTC_PKCS_1_*. Add an autoconf test for this change and define an alias to the old name when building against the older API.
Locally tested, successfully builds with both libtomcrypt 1.17 and 1.18.
In libtomcrypt 1.18 the
LTC_LTC_PKCS_1_*
constants were renamed toLTC_PKCS_1_*
. Add an autoconf test for this change and define an alias to the old name when building against the older API.Locally tested, successfully builds with both libtomcrypt 1.17 and 1.18.
This should fix Debian #878883.