2016-02-20 15:31 GMT+01:00 Pirate Praveen <prav...@onenetbeyond.org>:

> package: nodejs
> version: 4.3.0~dfsg-2
> severity: wishlist
>
> I'm trying to backport gitlab to jessie and it depends on nodejs >= 4.0.
> I got the following error when trying to build it.

../src/node_crypto.cc:536:42: error: 'SSL_CTX_add1_chain_cert' was not
> declared in this sc
> ope
>        r = SSL_CTX_add1_chain_cert(ctx, ca);
>                                           ^
>

That function has been added in openssl 1.0.2, which is not the jessie
version 1.0.1.
If the only problem is there,
https://github.com/nodejs/node/commit/ae8831f240f4477ab3372094d2207897fc5d1e17

shows that these functions are needed to implement a feature that can be
disabled
at runtime using the X509_V_FLAG_NO_ALT_CHAINS userland option, so there's
hope
it can be patched out.
However, reading https://github.com/nodejs/node/issues/589 it seems more
code
rely on openssl >= 1.0.2, so it might be impossible to backport nodejs 4
LTS to
jessie without having a backport of openssl as well.

Jérémy
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to