Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
yate
yate-openssl-1.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yate-openssl-1.1.patch of Package yate
--- modules/openssl.cpp +++ modules/openssl.cpp @@ -36,6 +36,10 @@ #include <openssl/des.h> #endif +#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#include <openssl/modes.h> +#endif + using namespace TelEngine; namespace { // anonymous @@ -644,6 +648,17 @@ inpData = outData; unsigned int num = 0; unsigned char eCountBuf[AES_BLOCK_SIZE]; +#if OPENSSL_VERSION_NUMBER >= 0x10100000L + CRYPTO_ctr128_encrypt( + (const unsigned char*)inpData, + (unsigned char*)outData, + len, + m_key, + m_initVector, + eCountBuf, + &num, + (block128_f)AES_encrypt); +#else AES_ctr128_encrypt( (const unsigned char*)inpData, (unsigned char*)outData, @@ -652,6 +667,7 @@ m_initVector, eCountBuf, &num); +#endif return true; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor