openssl/demos/mac
slontis d339f4070c 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>

(cherry picked from commit 09ff84bd27)

Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22728)
2023-11-16 14:46:25 +01:00
..
Makefile Add an EVP demo for CMAC 2022-07-13 11:18:11 +02:00
cmac-aes256.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
gmac.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
hmac-sha512.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
poly1305.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
siphash.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00