[Bug 208626] devel/tcltls: Undefined symbol "SSLv2_method" using libressl (SSLv2 is no longer supported)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 8 01:28:33 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208626
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 at FreeBSD.org
Reporter: Mark.Martinec at ijs.si
CC: mi at ALDAN.algebra.com
CC: mi at ALDAN.algebra.com
Flags: maintainer-feedback?(mi at 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= yes
OPENSSL_PORT= 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 = 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 = 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 assigning
to 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') from 'int'
[-Wint-conversion]
method = 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list