Re: [openssl-dev] [eng_rdrand] alloc and free

2016-01-24 Thread Catalin Vasile
From: openssl-dev <openssl-dev-boun...@openssl.org> on behalf of Richard Levitte <levi...@openssl.org> Sent: Friday, January 22, 2016 2:20 AM To: openssl-dev@openssl.org Subject: Re: [openssl-dev] [eng_rdrand] alloc and free

[openssl-dev] [eng_rdrand] alloc and free

2016-01-21 Thread Catalin Vasile
ENGINE_load_rdrand() creates a new engine, it adds it/registers it and then frees it. Looking further into these functions, the registration does NOT create a new object and then copy the data into it, so the registration is based on an object that it's later released. Based on this[1]

Re: [openssl-dev] [eng_rdrand] alloc and free

2016-01-21 Thread Richard Levitte
In message on Thu, 21 Jan 2016 10:57:19 +, Catalin Vasile said: cata.vasile> ENGINE_load_rdrand() creates a new engine, it adds cata.vasile> it/registers it and then frees it. Looking