cdp_tls.c: In function 'init_ssl_methods':
cdp_tls.c:21:49: warning: implicit declaration of function 'TLS_client_method' [-Wimplicit-function-declaration]
tls_methods[TLS_USE_TLSv1_cli - 1].TLSMethod = TLS_client_method();
^
cdp_tls.c:21:47: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_cli - 1].TLSMethod = TLS_client_method();
^
cdp_tls.c:24:49: warning: implicit declaration of function 'TLS_server_method' [-Wimplicit-function-declaration]
tls_methods[TLS_USE_TLSv1_srv - 1].TLSMethod = TLS_server_method();
^
cdp_tls.c:24:47: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_srv - 1].TLSMethod = TLS_server_method();
^
cdp_tls.c:27:45: warning: implicit declaration of function 'TLS_method' [-Wimplicit-function-declaration]
tls_methods[TLS_USE_TLSv1 - 1].TLSMethod = TLS_method();
^
cdp_tls.c:27:43: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1 - 1].TLSMethod = TLS_method();
^
cdp_tls.c:31:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_1_cli - 1].TLSMethod = TLS_client_method();
^
cdp_tls.c:34:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_1_srv - 1].TLSMethod = TLS_server_method();
^
cdp_tls.c:37:45: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_1 - 1].TLSMethod = TLS_method();
^
cdp_tls.c:41:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_2_cli - 1].TLSMethod = TLS_client_method();
^
cdp_tls.c:44:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_2_srv - 1].TLSMethod = TLS_server_method();
^
cdp_tls.c:47:45: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_2 - 1].TLSMethod = TLS_method();
^
cdp_tls.c:51:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_3_cli - 1].TLSMethod = TLS_client_method();
^
cdp_tls.c:52:54: error: 'TLS1_3_VERSION' undeclared (first use in this function)
tls_methods[TLS_USE_TLSv1_3_cli - 1].TLSMethodMin = TLS1_3_VERSION;
^
cdp_tls.c:52:54: note: each undeclared identifier is reported only once for each function it appears in
cdp_tls.c:54:49: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_3_srv - 1].TLSMethod = TLS_server_method();
^
cdp_tls.c:57:45: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_3 - 1].TLSMethod = TLS_method();
^
cdp_tls.c:62:48: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_PLUS - 1].TLSMethod = TLS_method();
^
cdp_tls.c:65:50: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_1_PLUS - 1].TLSMethod = TLS_method();
^
cdp_tls.c:68:50: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_2_PLUS - 1].TLSMethod = TLS_method();
^
cdp_tls.c:71:50: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tls_methods[TLS_USE_TLSv1_3_PLUS - 1].TLSMethod = TLS_method();
^
cdp_tls.c: In function 'init_ssl_ctx':
cdp_tls.c:114:4: warning: implicit declaration of function 'SSL_CTX_set_min_proto_version' [-Wimplicit-function-declaration]
SSL_CTX_set_min_proto_version(
^
cdp_tls.c:123:4: warning: implicit declaration of function 'SSL_CTX_set_max_proto_version' [-Wimplicit-function-declaration]
SSL_CTX_set_max_proto_version(
^
../../Makefile.rules:100: recipe for target 'cdp_tls.o' failed
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.