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_99_1-54-gb1f29ac


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-54-gb1f29ac
Date: Sat, 21 May 2011 08:11:31 +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=b1f29acf584794671eb4bae739d721b9f3bad4e8

The branch, master has been updated
       via  b1f29acf584794671eb4bae739d721b9f3bad4e8 (commit)
       via  2865b443111657152e2dc57fbbefee33b859c5b2 (commit)
      from  6539378e66ee72723739b39824e1d4339c413088 (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 b1f29acf584794671eb4bae739d721b9f3bad4e8
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sat May 21 09:59:35 2011 +0200

    corrected memory leak.

commit 2865b443111657152e2dc57fbbefee33b859c5b2
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sat May 21 09:37:58 2011 +0200

    use new nettle's name for gcm_aes_auth().

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

Summary of changes:
 lib/nettle/cipher.c |    2 +-
 tests/x509cert.c    |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c
index ba9b214..e4e6d7f 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -186,7 +186,7 @@ wrap_nettle_cipher_init (gnutls_cipher_algorithm_t algo, 
void **_ctx)
       ctx->encrypt = _gcm_encrypt;
       ctx->decrypt = _gcm_decrypt;
       ctx->i_encrypt = (nettle_crypt_func*) aes_bidi_encrypt;
-      ctx->auth = (auth_func)gcm_aes_auth;
+      ctx->auth = (auth_func)gcm_aes_update;
       ctx->tag = (tag_func)gcm_aes_digest;
       ctx->ctx_ptr = &ctx->ctx.aes_gcm;
       ctx->block_size = AES_BLOCK_SIZE;
diff --git a/tests/x509cert.c b/tests/x509cert.c
index ddc08d6..6007b95 100644
--- a/tests/x509cert.c
+++ b/tests/x509cert.c
@@ -182,6 +182,8 @@ doit (void)
     fail("gnutls_certificate_get_isser");
   
   fprintf(stderr, "Issuer's DN: %s\n", dn);
+  gnutls_x509_crt_deinit(crt);
+  gnutls_certificate_free_credentials(x509_cred);
   
   success("success");
 }


hooks/post-receive
-- 
GNU gnutls



reply via email to

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