gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_10_0-4-g75ed7c


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_10_0-4-g75ed7cb
Date: Wed, 30 Jun 2010 14:34:33 +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=75ed7cb709d949f012afff73e4728889e0e65681

The branch, gnutls_2_10_x has been updated
       via  75ed7cb709d949f012afff73e4728889e0e65681 (commit)
      from  470731587395a6c8e60340e101a39cd4d5ca1bde (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 75ed7cb709d949f012afff73e4728889e0e65681
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]