Ticket Change Details
Overview

Artifact ID: 0fb4157e5638e7c028f1582c0de3b8af273866fc2fecb3fd1f1cee87f47a11bb
Ticket: cfba27dc078fdc30b866d896df921346897c2d1a
Build against LibreSSL 3.5.3 has missing definitions
User & Date: anonymous 2022-09-19 14:23:33
Changes

  1. Change foundin to "3.5.3"
  2. Change icomment to:

    When building against LibreSSL 3.5.3, TclTLS needs to include private header files from LibreSSL. Specifically,

    File tcltls-1.7.22/tls.c -- needs libressl-3.5.3/crypto/dh/dh_local.h File tcltls-1.7.22/tlsBIO.c -- needs libressl-3.5.3/crypto/bio/bio_local.h

    Without including these files, the build fails with error messages, e.g.

    In file included from ../../src/tcltls-1.7.22/tls.c:84: ./dh_params.h: In function ‘get_dhParams’: ./dh_params.h:33: error: dereferencing pointer to incomplete type ./dh_params.h:34: error: dereferencing pointer to incomplete type ./dh_params.h:35: error: dereferencing pointer to incomplete type ./dh_params.h:35: error: dereferencing pointer to incomplete type make: *** [tls.o] Error 1

    The reason is that some definitions in LibreSSL are no longer present in the installed headers. From the LibreSSL Changelog file:

    3.5.0 - Development release

    * Compatibility Changes - Most structs that were previously defined in the following headers are now opaque as they are in OpenSSL 1.1: bio.h, bn.h, comp.h, dh.h, dsa.h, evp.h, hmac.h, ocsp.h, rsa.h, x509.h, x509v3.h, x509_vfy.h
  3. Change login to "anonymous"
  4. Change mimetype to "text/plain"
  5. Change private_contact to "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
  6. Change severity to "Critical"
  7. Change status to "Open"
  8. Change title to:

    Build against LibreSSL 3.5.3 has missing definitions

  9. Change type to "Build Problem"