[Pkg-javascript-devel] Bug#828457: nodejs: FTBFS with openssl 1.1.0
Kurt Roeckx
kurt at roeckx.be
Sun Jun 26 18:24:23 UTC 2016
On Sun, Jun 26, 2016 at 06:53:42PM +0200, Jérémy Lal wrote:
>
> I'm on it, and after a couple things i could solve, i need a "gentle push"
> to continue solving these:
They all seem to be about the same problem. The structure has
become opaque and you can't have it directly on the stack or in an
other struct. Instead you need to allocate it with TYPE_new(),
which will give you a pointer back. This will ensure that the
allocated size is the correct one, since we might change the
structure to add new fields and thing like that. When you do
things like sizeof(TYPE) you would get the size at compile time
which might be a different one than the one at runtime.
Kurt
More information about the Pkg-javascript-devel
mailing list