Tobias Nygren <tnn%NetBSD.org@localhost> writes:
> On Thu, 26 May 2022 08:20:41 -0400
> Greg Troxel <gdt%lexort.com@localhost> wrote:
>
>> So back to the issue: nodejs 18.2.0 fails because it tries to use
>> RSA_get0_pss_params.
>
> Looking at these symbols code they are so simple that it should
> be possible to implement them with an ifdef in nodejs.
> If this really is all that is needed I think the proposed
> solutions in the thread are much overcomplicated.
>
> static inline RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r)
> {
> return r->pss;
> }
>
> static inline void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1,
> const BIGNUM **dmq1, const BIGNUM **iqmp)
> {
> if (dmp1)
> *dmp1 = r->dmp1;
> if (dmq1)
> *dmq1 = r->dmq1;
> if (iqmp)
> *iqmp = r->iqmp;
> }
OK with me if someone(tm) wants to add a patch. It's definitely better
to patch in compat, if it can be done sanely, than to drag in a
dependency.
The only thing that's 100% clear to me is that nodejs has earned a spot
on our problem-child list :-)
Attachment:
signature.asc
Description: PGP signature