[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-296-g1e4d20a
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-296-g1e4d20a |
Date: |
Wed, 07 Jul 2010 11:31:52 +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=1e4d20a5831ba92a27d00e188333c4c310568fab
The branch, master has been updated
via 1e4d20a5831ba92a27d00e188333c4c310568fab (commit)
from 37689ff93340703204cfaa8b44ebe398677d88d5 (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 1e4d20a5831ba92a27d00e188333c4c310568fab
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Wed Jul 7 13:31:28 2010 +0200
Use the same "e" for RSA as libgcrypt. It's the fastest choice.
-----------------------------------------------------------------------
Summary of changes:
lib/nettle/pk.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c
index b264afd..95cba4f 100644
--- a/lib/nettle/pk.c
+++ b/lib/nettle/pk.c
@@ -454,8 +454,10 @@ int ret, i;
rsa_public_key_init(&pub);
rsa_private_key_init(&priv);
+
+ _gnutls_mpi_set_ui(&pub.e, 65537);
- ret = rsa_generate_keypair (&pub, &priv, NULL, rnd_func, NULL,
NULL, level, 64);
+ ret = rsa_generate_keypair (&pub, &priv, NULL, rnd_func, NULL,
NULL, level, 0);
if (ret != 1) {
gnutls_assert();
return GNUTLS_E_INTERNAL_ERROR;
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-296-g1e4d20a,
Nikos Mavrogiannopoulos <=