<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-20 15:31 GMT+01:00 Pirate Praveen <span dir="ltr"><<a href="mailto:praveen@onenetbeyond.org" target="_blank">praveen@onenetbeyond.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">package: nodejs<br>
version: 4.3.0~dfsg-2<br>
severity: wishlist<br>
<br>
I'm trying to backport gitlab to jessie and it depends on nodejs >= 4.0.<br>
I got the following error when trying to build it. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
../src/node_crypto.cc:536:42: error: 'SSL_CTX_add1_chain_cert' was not<br>
declared in this sc<br>
ope<br>
r = SSL_CTX_add1_chain_cert(ctx, ca);<br>
^<br></blockquote><div><br></div><div>That function has been added in openssl 1.0.2, which is not the jessie version 1.0.1.<br></div><div>If the only problem is there,</div><div><div><a href="https://github.com/nodejs/node/commit/ae8831f240f4477ab3372094d2207897fc5d1e17">https://github.com/nodejs/node/commit/ae8831f240f4477ab3372094d2207897fc5d1e17</a> </div><div>shows that these functions are needed to implement a feature that can be disabled</div></div><div>at runtime using the X509_V_FLAG_NO_ALT_CHAINS userland option, so there's hope</div><div>it can be patched out.</div><div>However, reading <a href="https://github.com/nodejs/node/issues/589">https://github.com/nodejs/node/issues/589</a> it seems more code</div><div>rely on openssl >= 1.0.2, so it might be impossible to backport nodejs 4 LTS to</div><div>jessie without having a backport of openssl as well.</div><div><br></div><div>Jérémy</div></div></div></div>