[CDRIVER-2938] Do not use deprecated OpenSSL HMAC function Created: 30/Jan/19  Updated: 27/Oct/23  Resolved: 30/Jan/19

Status: Closed
Project: C Driver
Component/s: auth
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Our OpenSSL implementation of HMAC SHA1 and HMAC SHA256 use the OpenSSL HMAC function:
https://github.com/mongodb/mongo-c-driver/blob/r1.13/src/libmongoc/src/mongoc/mongoc-crypto-openssl.c#L38

According to the OpenSSL docs, this has been deprecated since OpenSSL 1.1.0.



 Comments   
Comment by Kevin Albertson [ 30/Jan/19 ]

Wait... I can't read. That sentence only applies to "HMAC_Init", not all of the HMAC functions. Closing.

Generated at Wed Feb 07 21:16:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.