[MONGOCRYPT-359] Compatibility with OpenSSL 3.0 Created: 05/Nov/21  Updated: 28/Oct/23  Resolved: 11/Nov/21

Status: Closed
Project: Libmongocrypt
Component/s: Build
Affects Version/s: None
Fix Version/s: 1.3.1

Type: Bug Priority: Major - P3
Reporter: Remi Collet Assignee: Jesse Williamson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File build.log    
Issue Links:
Related
related to MONGOCRYPT-387 Do not use OpenSSL API deprecated in ... Closed

 Description   

Version <= 1.3.0 is not compatible with OpenSSL 3.0 because of deprecated calls.

 

Removing -Werror in CMakeList.txt is a workaround.

This affects Fedora 36 and RHEL 9 (version Beta is released)

 

See attached build.log with full messages



 Comments   
Comment by Githook User [ 11/Nov/21 ]

Author:

{'name': 'Remi Collet', 'email': 'remi@remirepo.net', 'username': 'remicollet'}

Message: MONGOCRYPT-359 simplify HMAC creation, fix compatibility with OpenSSL… (#213)

Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
Branch: master
https://github.com/mongodb/libmongocrypt/commit/23c7ca62e9e59e55f3d2637b35ec8a9a56917262

Comment by Jesse Williamson (Inactive) [ 09/Nov/21 ]

I have reviewed this code (which is an externally submitted PR); it looks good to me. I'd like one other reviewer (Kevin has it in his queue) to also take a peek.

Comment by Remi Collet [ 05/Nov/21 ]

Fix proposal on https://github.com/mongodb/libmongocrypt/pull/213

Comment by Remi Collet [ 05/Nov/21 ]

See migration guide

https://www.openssl.org/docs/man3.0/man7/migration_guide.html#Deprecated-low-level-MAC-functions

Generated at Thu Feb 08 09:08:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.