[openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2014-06-28 Thread Rich Salz via RT
I think the thing to do is pthread_once (and its equivalent on Windows) for these global init functions. __ OpenSSL Project http://www.openssl.org Development Mailing List

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

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

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

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 best

[openssl.org #44] OpenSSL_add_all_algorithms problems in Win32

2002-05-17 Thread
Hi: I´m having ugly crashes in Win32 when I call several times OpenSSL_add_all_algoritms(), mainly when I use my C code from Visual Basic but also if I use several DLLs. The problem comes up if I call that funcion from several C DLLs to initialize library. I think that it would be useful to

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

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

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

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 COMponents I