maskit opened a new issue, #9545:
URL: https://github.com/apache/trafficserver/issues/9545

   There was [a 
change](https://boringssl.googlesource.com/boringssl/+/5a9043a0ff3a5d952a8cc4c8dd24650dd84cf64e)
 to make DH structure opaque on BoringSSL, and the change broke our 
DH_get_2048_256 implementation.
   
   ```
     CXX      SSLUtils.o
   SSLUtils.cc:533:5: error: member access into incomplete type 'DH' (aka 
'dh_st')
     dh->p = BN_bin2bn(dh2048_p, sizeof(dh2048_p), nullptr);
       ^
   /Users/mkitajo/opt/boringssl/include/openssl/base.h:402:16: note: forward 
declaration of 'dh_st'
   typedef struct dh_st DH;
                  ^
   SSLUtils.cc:534:5: error: member access into incomplete type 'DH' (aka 
'dh_st')
     dh->g = BN_bin2bn(dh2048_g, sizeof(dh2048_g), nullptr);
       ^
   /Users/mkitajo/opt/boringssl/include/openssl/base.h:402:16: note: forward 
declaration of 'dh_st'
   typedef struct dh_st DH;
                  ^
   SSLUtils.cc:535:10: error: member access into incomplete type 'DH' (aka 
'dh_st')
     if ((dh->p == nullptr) || (dh->g == nullptr)) {
            ^
   /Users/mkitajo/opt/boringssl/include/openssl/base.h:402:16: note: forward 
declaration of 'dh_st'
   typedef struct dh_st DH;
                  ^
   SSLUtils.cc:535:32: error: member access into incomplete type 'DH' (aka 
'dh_st')
     if ((dh->p == nullptr) || (dh->g == nullptr)) {
                                  ^
   /Users/mkitajo/opt/boringssl/include/openssl/base.h:402:16: note: forward 
declaration of 'dh_st'
   typedef struct dh_st DH;
                  ^
   4 errors generated.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to