Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ecdsa/ecdsa_test.c')
-rw-r--r--crypto/ecdsa/ecdsa_test.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/crypto/ecdsa/ecdsa_test.c b/crypto/ecdsa/ecdsa_test.c
index d48f9c3d..d307ab84 100644
--- a/crypto/ecdsa/ecdsa_test.c
+++ b/crypto/ecdsa/ecdsa_test.c
@@ -308,21 +308,25 @@ int main(void) {
out = BIO_new_fp(stdout, BIO_NOCLOSE);
- if (!test_builtin(out))
+ if (!test_builtin(out)) {
goto err;
+ }
ret = 0;
err:
- if (ret)
+ if (ret) {
BIO_printf(out, "\nECDSA test failed\n");
- else
+ } else {
BIO_printf(out, "\nPASS\n");
- if (ret)
+ }
+ if (ret) {
BIO_print_errors(out);
+ }
- if (out != NULL)
+ if (out != NULL) {
BIO_free(out);
+ }
return ret;
}