Re: net-snmp and openssl 1.1.0

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 01/12/18 13:06, Sebastian Andrzej Siewior wrote:
> On 2018-01-12 21:44:19 [+0100], Magnus Fromreide wrote:
>> On Thu, Jan 11, 2018 at 07:07:45PM -0800, Bart Van Assche wrote:
>>> On 12/23/17 15:17, Sebastian Andrzej Siewior wrote:
>>>> added those, added a const and removed the "HAVE_EVP_MD_CTX_CREATE" thingy.
>>>
>>> Hello Sebastian and Andreas,
>>>
>>> Please have a look at the current trunk. OpenSSL 1.1.0 support was added
>>> several weeks ago.
>>
>> Yes, early in December. It broke the testsuite on older versions/systems w/o
>> openssl.
> 
> The part I added has support for openssl 1.0.2 and should work with
> libressl, too.

Hello Sebastian,

The build of the master branch and also the regression tests pass when 
using libressl on my test setup. However, the following warnings appear 
and need to be analyzed further:

.libs/scapi.o: In function `sc_encrypt':
snmplib/scapi.c:1343: warning: warning: EVP_EncryptFinal is often 
misused, please use EVP_EncryptFinal_ex and EVP_CIPHER_CTX_cleanup
.libs/scapi.o: In function `sc_decrypt':
snmplib/scapi.c:1561: warning: warning: EVP_DecryptFinal is often 
misused, please use EVP_DecryptFinal_ex and EVP_CIPHER_CTX_cleanup

Bart.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.