openssl/demos/smime
slontis 09ff84bd27 Fixup demo exit status magic numbers
The demo code is quite often block copied for new demos,
so this PR changes demos to use EXIT_SUCCESS & EXIT_FAILURE
instead of using 0 and 1.
Internal functions use the normal notation of 0 = error, 1 = success,
but the value returned by main() must use EXIT_SUCCESS and EXIT_FAILURE.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20545)
2023-04-24 14:39:19 +02:00
..
cacert.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
cakey.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
encr.txt Sample text files for S/MIME test programs. 2007-04-13 20:41:42 +00:00
sign.txt Sample text files for S/MIME test programs. 2007-04-13 20:41:42 +00:00
signer2.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
signer.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
smdec.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
smenc.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
smsign2.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
smsign.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
smver.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00