pk_sign: adjust return values

This commit is contained in:
Andrzej Kurek 2018-04-03 04:04:36 -04:00
parent d959492797
commit 350e4dc6df

View file

@ -168,7 +168,7 @@ exit:
fflush( stdout ); getchar();
#endif
return( ret );
return( ret ? EXIT_FAILURE : EXIT_SUCCESS );
}
#endif /* MBEDTLS_BIGNUM_C && MBEDTLS_ENTROPY_C &&
MBEDTLS_SHA256_C && MBEDTLS_PK_PARSE_C && MBEDTLS_FS_IO &&