nsca-ng
nsca-ng copied to clipboard
BIO_set_conn_int_port seems no longer supported in openssl >= 1.1
and gcc 14 no longer allows implicit function declarations.
=> nsca-ng no longer compiles against newer openssl with gcc 14:
client.c: In function ‘nscang_client_init’:
client.c:87:9: error: implicit declaration of function ‘BIO_set_conn_int_port’; did you mean ‘BIO_set_conn_port’? [-Wimplicit-function-declaration]
87 | BIO_set_conn_int_port(c->bio, &port);
| ^~~~~~~~~~~~~~~~~~~~~
| BIO_set_conn_port
client.c: In function ‘nscang_client_send_command’:
client.c:346:14: warning: unused variable ‘command_len’ [-Wunused-variable]
346 | const int command_len = strlen(command);
| ^~~~~~~~~~~
I dont think you want packagers to limit the package to openssl 1.0 :)