summaryrefslogtreecommitdiff
path: root/tests/rehandshake-ext-secret.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-17 09:31:12 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-18 11:21:25 +0200
commit21c56085c53e0aedd6379764167c2651f3045c04 (patch)
treef9c31211467e300766ccd84f2c9bce101bc992d8 /tests/rehandshake-ext-secret.c
parentd821485782334c01a956ac9f5b1da97d4df4c573 (diff)
downloadgnutls-21c56085c53e0aedd6379764167c2651f3045c04.tar.gz
tests: eliminated exit_code variable used in few tests
It was a legacy variable for error printing that was never used uniformly. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/rehandshake-ext-secret.c')
-rw-r--r--tests/rehandshake-ext-secret.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/rehandshake-ext-secret.c b/tests/rehandshake-ext-secret.c
index 4532f306bf..94279f0322 100644
--- a/tests/rehandshake-ext-secret.c
+++ b/tests/rehandshake-ext-secret.c
@@ -49,7 +49,6 @@ static void tls_log_func(int level, const char *str)
static void try(unsigned onclient)
{
- int exit_code = EXIT_SUCCESS;
/* Server stuff. */
gnutls_certificate_credentials_t serverx509cred;
gnutls_session_t server;
@@ -139,13 +138,6 @@ static void try(unsigned onclient)
gnutls_certificate_free_credentials(clientx509cred);
gnutls_global_deinit();
-
- if (debug) {
- if (exit_code == 0)
- puts("Self-test successful");
- else
- puts("Self-test failed");
- }
}
void doit(void)