pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (lang/nodejs) nodejs-18.2.0 fails with openssl in 9.0



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;
}


Home | Main Index | Thread Index | Old Index