History Of Ticket 14befce25ea1041c
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

Artifacts Associated With Ticket 14befce25ea1041c

  1. Ticket change [ff2b9f31fe] (rid 1424) by anonymous on 2019-07-30 07:01:05:

    1. foundin initialized to: "1.7.18"
    2. icomment:
      While compiling against openssl-1.1.1c I get the following error when compiling tls.c 
      In file included from tls.c:83:0:
      dh_params.h: In function 'get_dhParams':
      dh_params.h:33:4: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
      I have searched the net and saw this problem mentioned elsewhere:
      I have tried with different GCC versions - all show the same problem.
      OPENSSL_NO_DH is undefined!
    3. login: "anonymous"
    4. mimetype: "text/x-fossil-plain"
    5. private_contact initialized to: "2aaa286f07c20b4ef15315022e1a387590051891"
    6. severity initialized to: "Severe"
    7. status initialized to: "Open"
    8. title initialized to: "Compile error with openssl1.1.1.c and GCC"
    9. type initialized to: "Build Problem"
  2. Ticket change [3773354dc1] (rid 1425) by anonymous on 2019-08-02 08:12:45:

    1. icomment:
      As a workaround I just added -DOPENSSL_NO_DH to the makefile.
    2. login: "anonymous"
    3. mimetype: "text/x-fossil-plain"
    4. priority changed to: "Immediate"
    5. resolution changed to: "Open"
  3. Ticket change [a102dfe711] (rid 1450) by anonymous on 2019-09-26 13:20:29:

    1. icomment:
      The core problem seems to be that include/openssl/bn.h of defines BIGNUM as a typedef of struct bignum_st, but does not define that structure anywhere.
      The declarations of the header of openssl 1.0.2 are still including such a definition; but the openssl 1.1 distributed with openSUSE 15.1 does no longer define the structure, and it's found nowhere in /usr/include, so the compiler has no chance to know whether 'p' and/or 'g' are members of that structure.
      So the first approach here might be that the code in tlsInt.h does not define TCLTLS_OPENSSL_PRE_1_1_API for e.g. OPENSSL_VERSION_NUMBER == 0x1010009fL as defined in opensslv.h .
    2. login: "anonymous"
    3. mimetype: "text/x-fossil-plain"
    4. username: "R. J. Mathar"