summaryrefslogtreecommitdiff
path: root/lib/auth/cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/cert.c')
-rw-r--r--lib/auth/cert.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/auth/cert.c b/lib/auth/cert.c
index 7842ca9dc2..7f9b9bc409 100644
--- a/lib/auth/cert.c
+++ b/lib/auth/cert.c
@@ -573,11 +573,6 @@ call_get_cert_callback(gnutls_session_t session,
#endif
}
- if (ret < 0) {
- if (local_key != NULL)
- gnutls_privkey_deinit(local_key);
- }
-
return ret;
}