Use of deprecated CryptAcquireContext in random.cpp #32391

issue laanwj openend this issue on May 1, 2025
  1. laanwj commented at 7:27 am on May 1, 2025: member

    According to Windows API documentation, the CryptAcquireContext* function along with CryptGenRandom as used in src/random.cpp is deprecated:

    Important This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.

  2. laanwj added the label Windows on May 1, 2025
  3. laanwj commented at 7:35 am on May 1, 2025: member
    OH this is a duplicate of #14089, which was closed in 2018. Not sure whether to leave this open. Maybe it’s time to reevaluate this.
  4. davidgumberg commented at 1:02 am on May 2, 2025: contributor
    Opened #32400

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-05-05 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me