View Ticket
2017-11-08
14:57 Closed ticket [34cfe47490]: tcltls-1.7.12 on FreeBSD 11 plus 4 other changes artifact: fb12d55338 user: rkeene
2017-07-09
01:41 Ticket [34cfe47490]: 5 changes artifact: 091e36a38a user: rkeene
2017-07-08
10:12 New ticket [34cfe47490]. artifact: aba8f791de user: anonymous

Ticket Hash: 34cfe474908520292be11470754efb8bf70a23aa
Title: tcltls-1.7.12 on FreeBSD 11
Status: Closed Type: Code Defect
Severity: Critical Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2017-11-08 14:57:38
Version Found In:
User Comments:
anonymous added on 2017-07-08 10:12:45:
Compiling with OpenSSL 1.0.2j I get:

>>
% package require tls
couldn't load file "/usr/opt/tcl86/lib/tcltls1.7.12/tcltls.so":
/usr/opt/tcl86/lib/tcltls1.7.12/tcltls.so: Undefined symbol "get_dhParams"
<<

Compiling with nss-3.30 I get:

>>
% package require tls
couldn't load file "/usr/opt/tcl86/lib/tcltls1.7.12/tcltls.so": /usr/opt/tcl86/lib/tcltls1.7.12/tcltls.so: Undefined symbol "SSL_CTX_set_client_CA_list"
<<

When compiling the following warnings:

>>
./tls.c: In function 'CTX_Init':
./tls.c:1182:11: warning: implicit declaration of function 'get_dhParams' [-Wimplicit-function-declaration]
      dh = get_dhParams();
           ^
./tls.c:1182:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      dh = get_dhParams();
         ^
./tls.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
<<

rkeene added on 2017-07-09 01:41:54:

get_dhParams is defined in dh_params.h, which is included in tls.c if OPENSSL_NO_DH is undefined. Does your OpenSSL installation define this macro ?


rkeene added on 2017-11-08 14:57:38:
This issue is apparently the same as [12bf5e37e0797c824c22ca2c2c0636f31cd4aa22] and it is fixed in TclTLS 1.7.14 and newer.