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-17-gae23958


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-17-gae23958
Date: Sat, 07 May 2011 17:15:44 +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=ae23958c36aa6725ece3adab3e1f9273f8786caf

The branch, master has been updated
       via  ae23958c36aa6725ece3adab3e1f9273f8786caf (commit)
      from  91e62ff65030af57bed038decfa3aac392f75cac (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 ae23958c36aa6725ece3adab3e1f9273f8786caf
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sat May 7 18:50:22 2011 +0200

    updates

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

Summary of changes:
 NEWS           |    6 ++++++
 lib/x509/crq.c |    8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index ca94162..0211069 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,12 @@ See the end for copying conditions.
 
 * Version 2.99.2 (unreleased)
 
+** certtool: Can now load private keys and public keys from PKCS #11 tokens
+via URLs.
+
+** libgnutls: gnutls_pkcs11_privkey_import_url() will now correctly read
+the public key algorithm of the key.
+
 ** libgnutls: Added gnutls_certificate_get_issuer() and
 gnutls_x509_trust_list_get_issuer() to compensate for the
 missing gnutls_certificate_get_x509_cas().
diff --git a/lib/x509/crq.c b/lib/x509/crq.c
index ed0f844..6cd0c96 100644
--- a/lib/x509/crq.c
+++ b/lib/x509/crq.c
@@ -2567,7 +2567,7 @@ int ret, params_size = 0, i;
 
   ret = pubkey_verify_sig(&data, NULL, &signature,
                           gnutls_x509_crq_get_pk_algorithm (crq, NULL),
-    params, params_size);
+                          params, params_size);
   if (ret < 0)
     {
       gnutls_assert ();
@@ -2581,9 +2581,9 @@ cleanup:
   _gnutls_free_datum (&signature);
 
   for (i = 0; i < params_size; i++)
-      {
-            _gnutls_mpi_release (&params[i]);
-      }
+    {
+      _gnutls_mpi_release (&params[i]);
+    }
 
   return ret;
 }


hooks/post-receive
-- 
GNU gnutls



reply via email to

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