tech-pkg archive

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

lang/swi-prolog-lite 8.0.2 fails to build on NetBSD -current (OpenSSL version issue?)



Hey folks,

trying to build lang/swi-prolog-lite on NetBSD-current fails for me:

/usr/pkgobj/lang/swi-prolog-lite/work/swipl-8.0.2/packages/ssl/crypto4pl.c: In function 'get_padding':
/usr/pkgobj/lang/swi-prolog-lite/work/swipl-8.0.2/packages/ssl/crypto4pl.c:851:69: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_PKCS1_PADDING'?
  851 |     else if ( a == ATOM_sslv23  && mode == RSA_MODE )    *padding = RSA_SSLV23_PADDING;
      |                                                                     ^~~~~~~~~~~~~~~~~~
      |                                                                     RSA_PKCS1_PADDING



Sounds like an openssl version issue? What is the usual workaround?

Martin


Home | Main Index | Thread Index | Old Index