openssl3 broke rmd160 digest on Big Sur

Jimmy Yuen Ho Wong wyuenho at gmail.com
Mon Nov 8 20:50:10 UTC 2021


This also have broken nodejs as well, I have 2 errors here:

../src/node_crypto.cc:4585:10: error: cannot initialize a variable of 
type 'DSA *' (aka 'dsa_st *') with an rvalue of type 'const struct dsa_st *'
     DSA* dsa_key = EVP_PKEY_get0_DSA(pkey.get());
          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../src/node_crypto.cc:4589:13: error: cannot initialize a variable of 
type 'EC_KEY *' (aka 'ec_key_st *') with an rvalue of type 'const struct 
ec_key_st *'
     EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(pkey.get());
             ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Jimmy Wong

On 08/11/2021 8:29 PM, Jimmy Yuen Ho Wong wrote:
> I was just trying to get the rmd160 digest from the watchman archive 
> and I got this.
>
> Error setting digest
> 00AE181801000000:error:0308010C:digital envelope 
> routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:346:Global 
> default library context, Algorithm (RIPEMD160 : 101), Properties ()
> 00AE181801000000:error:03000086:digital envelope 
> routines:evp_md_init_internal:initialization 
> error:crypto/evp/digest.c:234:
>
> What's the rush to change all openssl references to openssl3?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20211108/4e62fef6/attachment.htm>


More information about the macports-dev mailing list