Commit Graph
1 Commits
Author SHA1 Message Date
ElTopo 3aa92e3f0a libsodium version checking with crypto_stream_chacha20_ietf_xor_ic() (#1133)
* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumpped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and keep backwards compatibility.

* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and maintain backward compatibility.
2017-01-25 07:30:47 +08:00