mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 08:04:19 +01:00
configure: Check for lower-case IETF acronym in sodium constants
The v1.0.9 release of libsodium added crypto_aead_chacha20poly1305_ietf_NPUBBYTES which we use; before that it was ...IETF_NPUBBYTES. Since that release was in April 2016, it seems fair to simply check for ancient versions and use the internal one if found. The alternative would be to use the older names (which are still in the header), but given we've never tested with such old versions, this seems safer. Reported-by: Zoltán Gálli <@gallizoltan> Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
61f95be0e9
commit
5518c7cba8