On Wed, Jul 16, 2014 at 10:56:03PM -0400, Salz, Rich wrote:

> I have a branch that adds pretty comprehensive option-checking to all the 
> openssl commands:
>       ; ./openssl x509 --CA /no/such/file
>       x509: Cannot open input file /no/such/file, No such file or directory
>       x509: Use -help for summary.
>       ; ./openssl x509 -days 1.2
>       x509: Invalid number "1.2" for -days
>       x509: Use -help for summary.
>       ; ./openssl rsa -out /vmlinuz
>       rsa: Cannot open output file /vmlinuz, Permission denied
>       rsa: Use -help for summary.
> 
> I know I broke some things; please try things out.  The branch is here:
>   https://github.com/akamai/openssl/tree/rsalz-monolith

You've declared "-days" to take only positive numbers, it should
allow negative numbers.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to