RE: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2014-06-28 Thread Erik Forsberg
yes, today I would use that one. Back then, XP was required, an this function was only in Vista and Server 2008. Thanks for reminding me -:) >-- Original Message -- > >> From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] >> On Behalf Of Erik Forsberg > >> What would be the

RE: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2014-06-28 Thread Salz, Rich via RT
> From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On > Behalf Of Erik Forsberg > What would be the best "equivalent" yo pthread_once on Windows ? > I was once looking for one, and back then, years ago, I didnt like the > choices. Perhaps http://msdn.microsoft.com/en-u

RE: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2014-06-28 Thread Salz, Rich
> From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On > Behalf Of Erik Forsberg > What would be the best "equivalent" yo pthread_once on Windows ? > I was once looking for one, and back then, years ago, I didnt like the > choices. Perhaps http://msdn.microsoft.com/en-u

Re: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2014-06-28 Thread Erik Forsberg
What would be the best "equivalent" yo pthread_once on Windows ? I was once looking for one, and back then, years ago, I didnt like the choices. >-- Original Message -- > >I think the thing to do is pthread_once (and its equivalent on Windows) for >these global init functions. >___

Re: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2002-05-17 Thread ZAZ - Pablo Royo Moreno
Hi: >Take a look at the source code for OpenSSL_add_all_algorithms(). For >each cipher there is a block of code to initialize it. Simply >initialize the ones you want in your code. There is no requirement >that OpenSSL_add_all_algorithms() be called. > The problem is that as this are COMponen

Re: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2002-05-17 Thread Jeffrey Altman
Take a look at the source code for OpenSSL_add_all_algorithms(). For each cipher there is a block of code to initialize it. Simply initialize the ones you want in your code. There is no requirement that OpenSSL_add_all_algorithms() be called. Although, I would be interested in where the except

Re: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2002-05-17 Thread ZAZ - Pablo Royo Moreno
Hi Jeffrey: >Are you sure your problem is in OpenSSL_add_all_algorithms() and not a >call to RAND_poll()? Many of the methods used in RAND_poll() to >collect random data are incompatible with COM when called from within >DLL initializers. Yes, I have seen it to happen several times in my debug

Re: [openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2002-05-17 Thread Jeffrey Altman
Are you sure your problem is in OpenSSL_add_all_algorithms() and not a call to RAND_poll()? Many of the methods used in RAND_poll() to collect random data are incompatible with COM when called from within DLL initializers. > > Hi: > > I´m having ugly crashes in Win32 when I call several times