1
1

src/global.c: Fix conditional AES-CTR support

Most of libssh2 already has conditional support for AES-CTR according to
the LIBSSH2_AES_CTR crypto backend #define, but global.c needed fixing.
Этот коммит содержится в:
Peter Stuge 2016-10-26 15:28:52 +02:00 коммит произвёл Alexander Lamaison
родитель 3806115d3d
Коммит b3636eaad5

Просмотреть файл

@ -46,7 +46,9 @@ libssh2_init(int flags)
{
if (_libssh2_initialized == 0 && !(flags & LIBSSH2_INIT_NO_CRYPTO)) {
libssh2_crypto_init();
#if LIBSSH2_AES_CTR
_libssh2_init_aes_ctr();
#endif
}
_libssh2_initialized++;