openssl/demos/signature
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
..
EVP_DSA_Signature_demo.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
EVP_EC_Signature_demo.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
EVP_EC_Signature_demo.h Add an EVP signature demo using DSA 2022-11-22 17:23:11 +01:00
Makefile Add an EVP signature demo using DSA 2022-11-22 17:23:11 +01:00
rsa_pss_direct.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
rsa_pss_hash.c Fixup demo exit status magic numbers 2023-04-24 14:39:19 +02:00
rsa_pss.h Add EVP demos for RSA-PSS signing and verification 2022-03-07 09:25:00 +11:00