version 1.58, 2005/08/14 00:37:06
|
version 1.59, 2005/11/29 20:06:14
|
|
|
// Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com) | // Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com) |
// Heather Sterling, IBM (hsterl@us.ibm.com) | // Heather Sterling, IBM (hsterl@us.ibm.com) |
// Amit K Arora, IBM (amita@in.ibm.com) for Bug#1090 | // Amit K Arora, IBM (amita@in.ibm.com) for Bug#1090 |
|
// David Dillard, Symantec Corp. (david_dillard@symantec.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifdef PEGASUS_HAS_SSL | #ifdef PEGASUS_HAS_SSL |
| |
#ifdef PEGASUS_PLATFORM_WIN32_IX86_MSVC |
#ifdef PEGASUS_OS_TYPE_WINDOWS |
//Bugzilla 2366 | //Bugzilla 2366 |
//Use the X509_NAME in wincrypt.h on Windows. See X509.h for more info. | //Use the X509_NAME in wincrypt.h on Windows. See X509.h for more info. |
#include <windows.h> | #include <windows.h> |
|
|
// Try to do more seeding | // Try to do more seeding |
// | // |
long seedNumber; | long seedNumber; |
#if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) |
#if defined(PEGASUS_COMPILER_MSVC) |
srand((unsigned int)time(NULL)); // Initialize | srand((unsigned int)time(NULL)); // Initialize |
seedNumber = rand(); | seedNumber = rand(); |
#else | #else |