[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Re: exit codes
From:       John Hartnup <slim () ladle ! demon ! co ! uk>
Date:       2000-05-31 8:50:56
[Download RAW message or body]

On Wed, May 31, 2000 at 07:47:52AM +0200, Arnaud De Timmerman wrote:
> 
> 
> hi,
> 
> On the web page for openssl, s/mime utility gives exit codes explanations.
> 
> ****************************
> 1.the operation was completely successfully.
> 2.an error occurred parsing the command options.
> 3.one of the input files could not be read.
> 4.an error occurred creating the PKCS#7 file or when reading the MIME message.
> 5.an error occurred decrypting or verifying the message.
> 6.the message was verified correctly but an error occurred writing out the
> signers certificates.
> ****************************
> 
> Is there somewhere the "help text" for exit code 0, since my "openssl smime
> -verify -in .............." command returns 0 ? Shouldn't it be 1 ?
> 

The web page is wrong. All those return values are 1 too big. The man
page gets it right.


-- 
-------------------------------------------------------------------------------
        Ooh, it's 'orrible being in love when you're eight and a half.
        I've got your picture on my wall and your name upon my scarf.
-------------------------------------------------------------------------------

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic