C Openssl / X509_up_ref

When compiling isync-1.4.4, I get:

socket.c:292:6: warning: implicit declaration of function 'X509_up_ref'; did you mean 'X509_free'? [-Wimplicit-function-declaration]

292 | X509_up_ref( cert ); // Locking failure assumed impossible

| ^~~~~~~~~~~

| X509_free

and later

isync-1.4.4/src/socket.c:292: undefined reference to `X509_up_ref'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make[2]: stopped in /usr/opt/src/isync-1.4.4/src
*** Error code 1

Stop.
make[1]: stopped in /usr/opt/src/isync-1.4.4
*** Error code 1

Stop.
make: stopped in /usr/opt/src/isync-1.4.4

Does this function exist?

Thanks for any hint!
 
nm -D /lib/libcrypto.so.111 |grep X509_up_ref
0000000000178da0 T X509_up_ref

do you use libressl or openssl from ports ?
 
# nm -D /lib/libcrypto.so.111 |grep X509_up_ref
nm: '/lib/libcrypto.so.111': No such file or directory

# nm -D /lib/libcrypto.so.8 |grep X509_up_ref
#

I use FreeBSD 11.3, no time to upgrade.

Now I am compiling the last version of OpenSSL.
 
Back
Top