[Pkg-openssl-devel] Bug#446486: Bug#446486: exit status of openssl no-asn1parse
Kurt Roeckx
kurt at roeckx.be
Sat Oct 13 12:41:58 UTC 2007
On Sat, Oct 13, 2007 at 09:13:10PM +0900, Tanaka Akira wrote:
> Package: openssl
> Version: 0.9.8c-4
>
> openssl no-asn1parse exits with 1 as follows.
>
> % openssl no-asn1parse
> asn1parse
> zsh: exit 1 openssl no-asn1parse
> % echo $?
> 1
>
> But openssl(1SSL) describes that it should return 0 because
> there is asn1parse command.
>
> | The pseudo-command no-XXX tests whether a command of the specified name
> | is available. If no command named XXX exists, it returns 0 (success)
> | and prints no-XXX; otherwise it returns 1 and prints XXX. In both
>
> list-standard-commands shows asn1parse.
So what exactly is your problem?
If asn1parse exists, as you say it does, it should print asn1parse,
as you say it does, and return 1, as you say it does.
Maybe you're just confused about that it returns 1 and was expecting 0?
Kurt
More information about the Pkg-openssl-devel
mailing list