summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pkcs11/pkcs11-rsa-pss-privkey-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pkcs11/pkcs11-rsa-pss-privkey-test.c b/tests/pkcs11/pkcs11-rsa-pss-privkey-test.c
index e0cd657b92..60045e9d04 100644
--- a/tests/pkcs11/pkcs11-rsa-pss-privkey-test.c
+++ b/tests/pkcs11/pkcs11-rsa-pss-privkey-test.c
@@ -126,7 +126,7 @@ void doit(void)
if (verify_rsa_pss_presence() == 0) {
fprintf(stderr, "Skipping test as no RSA-PSS mech is supported\n");
- goto cleanup;
+ exit(77);
}
ret = gnutls_x509_crt_init(&crt);
@@ -265,7 +265,6 @@ void doit(void)
gnutls_pubkey_deinit(pubkey);
gnutls_privkey_deinit(pkey);
-cleanup:
gnutls_global_deinit();
remove(CONFIG);