summaryrefslogtreecommitdiffstats
path: root/demos/cipher/aeskeywrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/cipher/aeskeywrap.c')
-rw-r--r--demos/cipher/aeskeywrap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/cipher/aeskeywrap.c b/demos/cipher/aeskeywrap.c
index f987772e4f..3909fd473c 100644
--- a/demos/cipher/aeskeywrap.c
+++ b/demos/cipher/aeskeywrap.c
@@ -171,11 +171,10 @@ err:
int main(int argc, char **argv)
{
if (!aes_wrap_encrypt())
- return 1;
+ return EXIT_FAILURE;
if (!aes_wrap_decrypt())
- return 1;
+ return EXIT_FAILURE;
- return 0;
+ return EXIT_SUCCESS;
}
-