Closed emaste closed 3 years ago
Trying to build on main (from end of Jan)
cc -O2 -pipe -DCONFIG_FILE_PATH=\"/home/emaste/src/gitup/gitup.conf\" -fPIE -g -MD -MF.depend.gitup.o -MTgitup.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/11.0.1/include -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c gitup.c -o gitup.o gitup.c:761:32: error: 'TLSv1_2_client_method' is deprecated [-Werror,-Wdeprecated-declarations] connection->ctx = SSL_CTX_new(TLSv1_2_client_method()); ^ /usr/include/openssl/ssl.h:1891:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ /usr/include/openssl/opensslconf.h:150:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:113:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 1 error generated.
Dang. I was hoping that would help with the SIGSEV that Michael was getting when trying to use his proxy. I just backed it out.
Trying to build on main (from end of Jan)