gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-273-g69a90d3


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-273-g69a90d3
Date: Wed, 30 Jun 2010 14:33:56 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=69a90d3b80f805f5a5a0f751f3b4e2dd5bf1bde6

The branch, master has been updated
       via  69a90d3b80f805f5a5a0f751f3b4e2dd5bf1bde6 (commit)
      from  de632483d77a800009088624ab44cad2a086df96 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 69a90d3b80f805f5a5a0f751f3b4e2dd5bf1bde6
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Wed Jun 30 16:33:42 2010 +0200

    Correctly deinitialize crypto API handles.

-----------------------------------------------------------------------

Summary of changes:
 lib/crypto-api.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/crypto-api.c b/lib/crypto-api.c
index 0f5bbe3..cad9914 100644
--- a/lib/crypto-api.c
+++ b/lib/crypto-api.c
@@ -113,7 +113,8 @@ gnutls_cipher_decrypt (gnutls_cipher_hd_t handle, void 
*ciphertext,
 void
 gnutls_cipher_deinit (gnutls_cipher_hd_t handle)
 {
-  return _gnutls_cipher_deinit ((cipher_hd_st *) handle);
+  _gnutls_cipher_deinit ((cipher_hd_st *) handle);
+  gnutls_free(handle);
 }
 
 
@@ -198,6 +199,7 @@ void
 gnutls_hmac_deinit (gnutls_hmac_hd_t handle, void *digest)
 {
   _gnutls_hmac_deinit ((digest_hd_st *) handle, digest);
+  gnutls_free(handle);
 }
 
 /**
@@ -318,6 +320,7 @@ void
 gnutls_hash_deinit (gnutls_hash_hd_t handle, void *digest)
 {
   _gnutls_hash_deinit ((digest_hd_st *) handle, digest);
+  gnutls_free(handle);
 }
 
 /**


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]