diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-04-08 17:28:12 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-04-08 17:28:12 +0000 |
commit | dd22bd5b26886bf907e34804dfb4a13a8fdab28e (patch) | |
tree | 057bb968b0007df8e0e634e9f5823586ba172192 | |
parent | be7f211d10a573d71b2daada860fceed6480fc37 (diff) | |
download | gnutls_0_4_1.tar.gz |
changes for 0.4.1gnutls_0_4_1
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/gnutls_pk.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Version 0.4.1 +Version 0.4.1 (7/04/2002) - Now uses alloca() for temporary variables - Optimized RSA signing - Added functions to return the peer's certificate activation and diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index 9866d73f34..1304d93d7c 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -186,8 +186,9 @@ int _gnutls_pkcs1_rsa_decrypt(gnutls_sdatum * plaintext, */ if (btype==2) ret = _gnutls_pk_decrypt(GCRY_PK_RSA, &res, c, params, params_len); - else + else { ret = _gnutls_pk_encrypt(GCRY_PK_RSA, &res, c, params, params_len); + } _gnutls_mpi_release(&c); if (ret < 0) { |