Date: Sat, 04 Mar 2017 23:40:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217549] databases/tls fails with libressl Message-ID: <bug-217549-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217549 Bug ID: 217549 Summary: databases/tls fails with libressl Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: w.schwarzenfeld@utanet.at freetds 1.00.27,1 fails with In file included from tls.c:56: ../../include/freetds/alloca.h:5:10: warning: 'alloca' macro redefined # define alloca __builtin_alloca ^ /usr/include/stdlib.h:247:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ tls.c:107:33: warning: implicit declaration of function 'BIO_get_data' is invalid in C99 [-Wimplicit-function-declaration] TDSSOCKET *tds =3D (TDSSOCKET *) SSL_PTR; ^ tls.c:101:17: note: expanded from macro 'SSL_PTR' #define SSL_PTR BIO_get_data(bio) ^ tls.c:107:19: warning: cast to 'TDSSOCKET *' (aka 'struct tds_socket *') fr= om smaller integer type 'int' [-Wint-to-pointer-cast] TDSSOCKET *tds =3D (TDSSOCKET *) SSL_PTR; ^ tls.c:138:19: warning: cast to 'TDSSOCKET *' (aka 'struct tds_socket *') fr= om smaller integer type 'int' [-Wint-to-pointer-cast] TDSSOCKET *tds =3D (TDSSOCKET *) SSL_PTR; ^ tls.c:150:24: warning: cast to 'TDSCONNECTION *' (aka 'struct tds_connection *') from smaller integer type 'int' [-Wint-to-pointer-cast] TDSCONNECTION *conn =3D (TDSCONNECTION *) SSL_PTR; ^ tls.c:173:24: warning: cast to 'TDSCONNECTION *' (aka 'struct tds_connection *') from smaller integer type 'int' [-Wint-to-pointer-cast] TDSCONNECTION *conn =3D (TDSCONNECTION *) SSL_PTR; ^ tls.c:575:19: warning: cast to 'TDSSOCKET *' (aka 'struct tds_socket *') fr= om smaller integer type 'int' [-Wint-to-pointer-cast] TDSSOCKET *tds =3D (TDSSOCKET *) BIO_get_data(b); ^ tls.c:635:28: warning: implicit declaration of function 'BIO_meth_new' is invalid in C99 [-Wimplicit-function-declaration] tds_method_login =3D meth =3D BIO_meth_new(BIO_TYPE_MEM, "tds"); ^ tls.c:635:26: warning: incompatible integer to pointer conversion assigning= to 'BIO_METHOD *' (aka 'struct bio_method_st *') from 'int' [-Wint-conversion] tds_method_login =3D meth =3D BIO_meth_new(BIO_TYPE_MEM, "tds"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.c:636:2: warning: implicit declaration of function 'BIO_meth_set_write'= is invalid in C99 [-Wimplicit-function-declaration] BIO_meth_set_write(meth, tds_push_func_login); ^ tls.c:637:2: warning: implicit declaration of function 'BIO_meth_set_read' = is invalid in C99 [-Wimplicit-function-declaration] BIO_meth_set_read(meth, tds_pull_func_login); ^ tls.c:638:2: warning: implicit declaration of function 'BIO_meth_set_ctrl' = is invalid in C99 [-Wimplicit-function-declaration] BIO_meth_set_ctrl(meth, tds_ssl_ctrl_login); ^ tls.c:639:2: warning: implicit declaration of function 'BIO_meth_set_destro= y' is invalid in C99 [-Wimplicit-function-declaration] BIO_meth_set_destroy(meth, tds_ssl_free); ^ tls.c:641:20: warning: incompatible integer to pointer conversion assigning= to 'BIO_METHOD *' (aka 'struct bio_method_st *') from 'int' [-Wint-conversion] tds_method =3D meth =3D BIO_meth_new(BIO_TYPE_MEM, "tds"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.c:651:2: warning: implicit declaration of function 'BIO_meth_free' is invalid in C99 [-Wimplicit-function-declaration] BIO_meth_free(tds_method_login); ^ tls.c:923:2: warning: implicit declaration of function 'BIO_set_init' is invalid in C99 [-Wimplicit-function-declaration] BIO_set_init(b, 1); ^ tls.c:924:2: warning: implicit declaration of function 'BIO_set_data' is invalid in C99 [-Wimplicit-function-declaration] BIO_set_data(b, tds); ^ tls.c:946:55: error: use of undeclared identifier 'TLS_ST_OK' ret =3D SSL_connect(con) !=3D 1 || SS --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217549-13>