stoken-dev / stoken

RSA SecurID-compatible software token for Linux/UNIX systems
http://stoken.sf.net
GNU Lesser General Public License v2.1
411 stars 78 forks source link

be compatible with libtomcrypt 1.18 #38

Closed mtmiller closed 7 years ago

mtmiller commented 7 years ago

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.

This should fix Debian #878883.

cernekee commented 7 years ago

Cherry-picked to master, thanks!