On Wed, Dec 11, 2013 at 06:02:58PM +0000, Alin Serdean wrote: > The following is a quick patch for secure pseudorandom number > generator on windows. I split the functionality with a brutal ifdef > macro. Feedback on the code and suggestions for a nicer > implementation is appreciated :).
I'm fine with an #ifdef in this case. The VLOG_ERR message "CryptGenRandom: read error (/dev/urandom)" doesn't make any sense. If you'll fix that, and supply some reasonable errno value instead of just 1, then I'll apply this. Thanks, Ben. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev