[CDRIVER-4463] Remove use of deprecated wincrypt.h functions Created: 29/Aug/22 Updated: 25/Jan/24 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Ezra Chung | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | CDRIVER-4575 |
| Description |
|
wincrypt.h functions such as CryptQueryObject, CryptAcquireContext, and CryptImportKey used by mongoc-secure-channel.c are deprecated:
These functions should be replaced with recommended modern alternatives. |
| Comments |
| Comment by Mandeep Singh [ 25/Jan/24 ] |
|
Please also check if it makes sense to use unicode (i.e. wide char) versions of the Windows APIs while implementation. |