Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Salz, Rich
Thanks for the links. I understand it's a real issue. The concern is will windows return EACCESS for cases when there really is access denied? ___ openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Koehne Kai
-Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Michael Wojcik Sent: Thursday, January 22, 2015 11:34 PM To: openssl-users@openssl.org Subject: Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX,

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread mclellan, dave
Thanks again. I had returned to the conf_def.c file and saw the logic that essentially summarizes your detailed sequence. The workaround you suggested of specifying OPENSSL_CONF is a variation of what I had given our QA team (the original reporter of the issue on AIX), and this indeed

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Koehne Kai
-Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Michael Wojcik Sent: Thursday, January 22, 2015 11:34 PM To: openssl-users@openssl.org Subject: Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX,

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread mclellan, dave
Thanks again. I had returned to the conf_def.c file and saw the logic that essentially summarizes your detailed sequence. The workaround you suggested of specifying OPENSSL_CONF is a variation of what I had given our QA team (the original reporter of the issue on AIX), and this indeed

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Michael Wojcik
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Koehne Kai Sent: Friday, January 23, 2015 04:03 To: openssl-users@openssl.org Subject: Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others This reminds me of

[openssl-users] Is CRYPTO_set_locking_callback necessary in multi-threaded OpenSSL program that already uses mutexes to make sure threads can't run at the same time?

2015-01-23 Thread Avery A. Tarasov
I am using OpenSSL 1.0.1l in Win32 environment. In the main section of the program I initialize the SSL library and load the error strings. Then I create two threads that run concurrently. One sends GET requests to a website and the other sends POST requests to a website using SSL -- both

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Richard Moore
On 23 January 2015 at 15:04, Michael Wojcik michael.woj...@microfocus.com wrote: From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Koehne Kai Sent: Friday, January 23, 2015 04:03 To: openssl-users@openssl.org Subject: Re: [openssl-users] missing default

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Salz, Rich
There's been a patch that's been ignored in the bug tracker for ages to at least minimise this problem on Windows by treating EACCESS the same as EPERM to handle the case of removable disks. Do you know the ticket number? I vaguely recall it but can't find immediately find it. I know when

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Viktor Dukhovni
On Fri, Jan 23, 2015 at 04:06:47PM +, Richard Moore wrote: This is an interesting one because the problem is clear - the openssl utility exits if it gets any error other than file doesn't exist trying to open its configuration file - but the solution is not. The real problem isn't

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Richard Moore
The ones I can find are: http://rt.openssl.org/Ticket/Display.html?id=3263 http://rt.openssl.org/Ticket/Display.html?id=2644 http://rt.openssl.org/Ticket/Display.html?id=3488 Two which seem to be suggesting the same fix. I'm also aware of bugs in the Qt bug tracker, my work's internal bug

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Salz, Rich
Thanks for the links. I understand it's a real issue. The concern is will windows return EACCESS for cases when there really is access denied? ___ openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Viktor Dukhovni
On Fri, Jan 23, 2015 at 05:22:22PM +, Salz, Rich wrote: Thanks for the links. I understand it's a real issue. The concern is will windows return EACCESS for cases when there really is access denied? I think we're asking the wrong questions here. Whatever the error, the decision to

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Salz, Rich
Or are we talking about something other than OPENSSL_config() exiting when the config file cannot be read? It's a variant of this. File not existing is silently ignored. Windows will return EACCESS if the drive isn't ready, and that is not silently ignored. The concern is if windows will

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Richard Moore
On 23 January 2015 at 17:22, Salz, Rich rs...@akamai.com wrote: Thanks for the links. I understand it's a real issue. The concern is will windows return EACCESS for cases when there really is access denied? No, if it's file permissions you get EPERM. EACCESS is weirder things like opening

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Salz, Rich
No, if it's file permissions you get EPERM. EACCESS is weirder things like opening a directory fopen(), see https://msdn.microsoft.com/en-us/library/5814770t.aspx Ah, thanks. Okay, we can fix that :) ___ openssl-users mailing list To unsubscribe:

Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others

2015-01-23 Thread Michael Wojcik
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Koehne Kai Sent: Friday, January 23, 2015 04:03 To: openssl-users@openssl.org Subject: Re: [openssl-users] missing default /usr/local/ssl/openssl.cnf causes failure on AIX, warning on all others This reminds me of