1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/security/pkcs11-helper
Matthias Andree b419a572ee security/pkcs11-helper: make OpenSSL 3.0 compatible
OpenSSL 3.0 changed the prototype for the dup_func
of the customer data callback functions, the third
argument (from_d) switched from void * to void **.

See
https://www.openssl.org/docs/man3.0/man3/CRYPTO_get_ex_new_index.html

This breaks compile on FreeBSD-CURRENT, which also
uses the stricter LLVM/clang 16.

Add an OPENSSL_VERSION_NUMBER #elif case
to support the newer OpenSSL >= 3.0 prototype.

Approved by:    ale@ (Alex Dupre, maintainer)
PR:		272190
2023-06-28 22:49:54 +02:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist