[openssl-dev] [Bug] apps: -CApath does not fail for non-directories (on Linux)
Steffen Nurpmeso
steffen at sdaoden.eu
Wed Mar 1 15:43:18 UTC 2017
Hello.
I am sorry, but i have no github account. Maybe it is possible to
have some @bug address which creates issues automatically?
I see this on
? openssl version
OpenSSL 1.0.2k 26 Jan 2017
? /home/steffen/usr/opt/.ssl-1.1.0/bin/openssl version
OpenSSL 1.1.0 25 Aug 2016
? openssl verify -verbose -CAfile SOME-FILE SOME-CERT
SOME-FILE: OK
? openssl verify -verbose -CApath SOME-FILE SOME-CERT
error 20 at 0 depth lookup:unable to get local issuer certificate
I look into apps/apps.c, but i cannot tell why this does not bail
out when the directory is found to be a file.
Ciao,
--steffen
More information about the openssl-dev
mailing list