summaryrefslogtreecommitdiffstats
path: root/demos/cipher/aesgcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/cipher/aesgcm.c')
-rw-r--r--demos/cipher/aesgcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/cipher/aesgcm.c b/demos/cipher/aesgcm.c
index aaf4000d57..0e4cf7122d 100644
--- a/demos/cipher/aesgcm.c
+++ b/demos/cipher/aesgcm.c
@@ -219,10 +219,10 @@ err:
int main(int argc, char **argv)
{
if (!aes_gcm_encrypt())
- return 1;
+ return EXIT_FAILURE;
if (!aes_gcm_decrypt())
- return 1;
+ return EXIT_FAILURE;
- return 0;
+ return EXIT_SUCCESS;
}