Re: error message oddity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Nov 25, 2018, at 3:17 PM, Jeremy Harris <jgh@xxxxxxxxxxx> wrote:
> 
> OpenSSL 1.1.0h-fips

FWIW (not germane to this issue), there is no FIPS module for OpenSSL 1.1.0,
so the package name is rather misleading.

> On OpenSuse tumbleweed I'm getting an error message lacking
> the last component:
> 
>    error:02001002:system library:fopen:
> 
> This is for a deliberately-triggered error, on calling
> SSL_CTX_use_certificate_chain_file() with a non-existent file.
> 
> The global "errno" is properly set at 2 (ENOENT) between the
> return from SSL_CTX_use_certificate_chain_file() and the call
> to ERR_error_string_n(ERR_get_error(), ...) - and a call
> to strerr() gets the correct string.

The only thing that comes to mind is that errno is thread-specific,
and there may be some issue with compiler or linker flags that leads
to a wrong implementation of the accessor.

> I don't recall seeing this particular oddity on any of my
> other distribution system that I run the same test code on.
> Other systems get:
> 
>    error:xxxxxxxx:system library:fopen:No such file or directory
> 
> for assorted values of xxxxxxxx (I'm also testing across
> library release versions).
> 
> 
> Any clues?  Does anyone else see this, or have I borked the
> installation somehow?

I would try to rebuild, paying attention to the thread support
flags.  If that fails, ask on an OpenSuse list.  It seems the
issue is rather platform-specific.

-- 
	Viktor.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux