Date: Fri, 08 Apr 2016 01:28:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208626] devel/tcltls: Undefined symbol "SSLv2_method" using libressl (SSLv2 is no longer supported) Message-ID: <bug-208626-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208626 Bug ID: 208626 Summary: devel/tcltls: Undefined symbol "SSLv2_method" using libressl (SSLv2 is no longer supported) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: Mark.Martinec@ijs.si CC: mi@ALDAN.algebra.com CC: mi@ALDAN.algebra.com Flags: maintainer-feedback?(mi@ALDAN.algebra.com) Trying to use devel/tcltls (version 1.6.7) with libressl, which no longer supports SSLv2: /etc/make.conf: WITH_OPENSSL_PORT=3D yes OPENSSL_PORT=3D security/libressl Port compilation issues a couple of telltale warnings, but manages to build the Tcl tls package nevertheless: tls.c:561:21: warning: implicit declaration of function 'SSLv2_method' is invalid in C99 [-Wimplicit-function-declaration] ctx =3D SSL_CTX_new(SSLv2_method()); break; ^ tls.c:561:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx =3D SSL_CTX_new(SSLv2_method()); break; ^~~~~~~~~~~~~~ /usr/local/include/openssl/ssl.h:1523:40: note: passing argument to parameter 'meth' here SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ tls.c:1118:9: warning: incompatible integer to pointer conversion assigni= ng to 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') from 'int' [-Wint-conversion] method =3D SSLv2_method (); ^ ~~~~~~~~~~~~~~~ 3 warnings generated. The resulting Tcl package is unfortunately unusable: $ tclsh8.6 % package require tls couldn't load file "/usr/local/lib/tls1.6.7/libtls.so.1": /usr/local/lib/tls1.6.7/libtls.so.1: Undefined symbol "SSLv2_method" Would be nice to autodetect availability of SSLv2 and SSLv3, or better yet, disable both. --=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-208626-13>