[ pycrypto-Patches-2003762 ] Prevent CryptAcquireContext raising NTE_BAD_KEYSET

"SourceForge.net" <[email protected]> Fri, 27 Jun 2008 05:44:37 +0000
Newsgroups gmane.comp.python.cryptography.cvs
Message-ID <[email protected]>
Patches item #2003762, was opened at 2008-06-27 15:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=320937&aid=2003762&group_id=20937

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Hammond (mhammond)
Assigned to: Nobody/Anonymous (nobody)
Summary: Prevent CryptAcquireContext raising NTE_BAD_KEYSET

Initial Comment:
This is a patch for http://sourceforge.net/tracker/index.php?func=detail&aid=1343753&group_id=20937&atid=120937 - it includes a reference to the specific msdn article in question, and at that article's suggestion, retries the operation with a different flag in the case of NTE_BAD_KEYSET.

The patch also includes a fix for setup.py - without that change, setup.py doesn't attempt to build the winrand module.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=320937&aid=2003762&group_id=20937

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php