Opened 10 years ago

Closed 9 years ago

#8432 closed Patches (fixed)

random_device: On Win32, be more lenient wrt CSP enumeration errors

Reported by: frank.richter@… Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

On a machine, the Cryptographic Service Provider enumeration failed with an "Internal error"; the issue was only happening on a single machine and the cause is still unclear, however, the suspicion is that the enumeration of some CSP caused some error. Arguably, an enumeration error on some CSP shouldn't cause an abort right away, as a subsequent enumeration may succeed again and yield the requested service provider. The attached patch implements that behaviour: if an enumeration fails, don't abort altogether, but try to continue with the next CSP. This behaviour change worked around the mystery "Internal error".

Attachments (1)

boost_1_53_0_random_device_win32_error_continue.diff (996 bytes ) - added by frank.richter@… 10 years ago.
random_device: On Win32, be more lenient wrt CSP enumeration errors

Download all attachments as: .zip

Change History (2)

by frank.richter@…, 10 years ago

random_device: On Win32, be more lenient wrt CSP enumeration errors

comment:1 by Steven Watanabe, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.