You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "JosiahWI (via GitHub)" <gi...@apache.org> on 2023/06/14 18:00:59 UTC

[GitHub] [trafficserver] JosiahWI opened a new issue, #9847: OpenSSL MD5 deprecation warnings in WCCP

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

   ```
   [12/426] Building CXX object src/wccp/CMakeFiles/wccp.dir/WccpMsg.cc.o
   /trafficserver/src/wccp/WccpMsg.cc: In member function 'wccp::SecurityComp& wccp::SecurityComp::secure(const wccp::MsgBuffer&)':
   /trafficserver/src/wccp/WccpMsg.cc:483:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     483 |     MD5_Init(&ctx);
         |     ~~~~~~~~^~~~~~
   In file included from /trafficserver/src/wccp/WccpMsg.cc:25:
   /usr/include/openssl/md5.h:49:27: note: declared here
      49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
         |                           ^~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:484:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     484 |     MD5_Update(&ctx, key, KEY_SIZE);
         |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/md5.h:50:27: note: declared here
      50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
         |                           ^~~~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:485:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     485 |     MD5_Update(&ctx, msg.getBase(), msg.getCount());
         |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/md5.h:50:27: note: declared here
      50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
         |                           ^~~~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:486:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     486 |     MD5_Final(access_field(&RawMD5::m_data, m_base), &ctx);
         |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/md5.h:51:27: note: declared here
      51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
         |                           ^~~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc: In member function 'bool wccp::SecurityComp::validate(const wccp::MsgBuffer&) const':
   /trafficserver/src/wccp/WccpMsg.cc:505:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     505 |     MD5_Init(&ctx);
         |     ~~~~~~~~^~~~~~
   /usr/include/openssl/md5.h:49:27: note: declared here
      49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
         |                           ^~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:506:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     506 |     MD5_Update(&ctx, key, KEY_SIZE);
         |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/md5.h:50:27: note: declared here
      50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
         |                           ^~~~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:507:15: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     507 |     MD5_Update(&ctx, msg.getBase(), msg.getCount());
         |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/md5.h:50:27: note: declared here
      50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
         |                           ^~~~~~~~~~
   /trafficserver/src/wccp/WccpMsg.cc:508:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     508 |     MD5_Final(org, &ctx);
         |     ~~~~~~~~~^~~~~~~~~~~
   /usr/include/openssl/md5.h:51:27: note: declared here
      51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      ```


-- 
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: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] OpenSSL 3.0 MD5 deprecation warnings in WCCP [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI closed issue #9847: OpenSSL 3.0 MD5 deprecation warnings in WCCP
URL: https://github.com/apache/trafficserver/issues/9847


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org