[Boost-bugs] [Boost C++ Libraries] #8432: random_device: On Win32, be more lenient wrt CSP enumeration errors

Subject: [Boost-bugs] [Boost C++ Libraries] #8432: random_device: On Win32, be more lenient wrt CSP enumeration errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-12 08:57:31


#8432: random_device: On Win32, be more lenient wrt CSP enumeration errors
--------------------------------------+-------------------------------------
 Reporter: frank.richter@… | Owner: no-maintainer
     Type: Patches | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
--------------------------------------+-------------------------------------
 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".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8432>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC