On 10/25/2016 10:41 AM, Tomasz Torcz wrote:
> On Tue, Oct 25, 2016 at 10:01:55AM +0200, Julien Enselme wrote:
>> Hi,
>>
>> I have an error while building ccnet on rawhide:
>>
>> utils.c: In function 'ccnet_decrypt_with_key':
>> utils.c:1141:20: error: storage size of 'ctx' isn't known
>>      EVP_CIPHER_CTX ctx;
>   Looks like ccnet need porting to OpenSSL 1.1.x API.
> There was a thread about version bump few days ago on this list.

Yes, please look here for similar patches, how this API change needs to
be reflected in the sources:
https://github.com/patch-exchange/openssl-1.1-transition

Basically you have to use EVP_CIPHER_CTX_new() and ..._free() to
allocate and deallocate the structure and use only pointer. For all the
structure members that should be used publicly there are accessor
functions ..._get..() and ..._set...().

Tomas Mraz
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to