getxbook
getxbook copied to clipboard
getxbook won't make
~/Downloads/getxbook-1.2$ make
CC util.c
util.c: In function ‘dial’:
util.c:61:3: error: ‘TLSv1_2_client_method’ is deprecated [-Werror=deprecated-declarations]
if((sslcontext = SSL_CTX_new(TLSv1_2_client_method())) == NULL) {
^~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from util.h:3,
from util.c:6:
/usr/include/openssl/ssl.h:1638:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
^
cc1: all warnings being treated as errors
Makefile:26: recipe for target 'util.o' failed
make: *** [util.o] Error 1