summaryrefslogtreecommitdiff
path: root/lib/auth_cert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-08 17:27:54 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-08 17:27:54 +0200
commitb9bc4becb76eaa7a9367510f432906440784ccc9 (patch)
treebb9fb2c0850f5450d09734048c4509b2be5ca3c3 /lib/auth_cert.c
parentf248f64aa825cff8e7d08ffe79709200adcf6214 (diff)
downloadgnutls-b9bc4becb76eaa7a9367510f432906440784ccc9.tar.gz
corrected memory leak on RSA signatures.
Diffstat (limited to 'lib/auth_cert.c')
-rw-r--r--lib/auth_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_cert.c b/lib/auth_cert.c
index e6b2eee5fa..c760e50c02 100644
--- a/lib/auth_cert.c
+++ b/lib/auth_cert.c
@@ -1593,7 +1593,7 @@ _gnutls_gen_cert_client_cert_vrfy (gnutls_session_t session, gnutls_buffer_st *
goto cleanup;
}
- return data->length;
+ ret = data->length;
cleanup:
_gnutls_free_datum (&signature);