Ticket Change Details
Overview

Artifact ID: ff2b9f31fee14b38fe77a64d81a9a6fd807fedf30521071451294ec05291c188
Ticket: 14befce25ea1041cce8430113ef3399242598bf6
Compile error with openssl1.1.1.c and GCC
User & Date: anonymous on 2019-07-30 07:01:05
Changes

  1. foundin changed 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}'
      dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
        ^
    
    I have searched the net and saw this problem mentioned elsewhere:
    
    https://issues.apache.org/jira/browse/PROTON-1381
    
    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 changed to: "2aaa286f07c20b4ef15315022e1a387590051891"
  6. severity changed to: "Severe"
  7. status changed to: "Open"
  8. title changed to: "Compile error with openssl1.1.1.c and GCC"
  9. type changed to: "Build Problem"