summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-02 11:49:14 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-02 11:49:14 +0000
commit685d40a6b38d0e4c9bcf9b6f24527cba790f44ea (patch)
treea7016c953591594e63e156eca8dec4d1cbea490e
parentd5bcbb30fe10e29609fce9a6096e4a3163d1d4e0 (diff)
downloadgnutls-685d40a6b38d0e4c9bcf9b6f24527cba790f44ea.tar.gz
*** empty log message ***
-rw-r--r--lib/auth_rsa.c2
-rw-r--r--lib/gnutls_int.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 0561e6818e..70d4757dd4 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -206,8 +206,6 @@ int proc_rsa_client_kx(GNUTLS_STATE state, opaque * data, int data_size)
state->gnutls_key->key.size = plaintext.size;
}
- _gnutls_mpi_release(&state->gnutls_key->B);
-
return ret;
}
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index f439491dea..0e7c0065f2 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -240,10 +240,8 @@ struct GNUTLS_KEY_INT {
MPI b;
MPI a;
MPI x;
- /* RSA: peer:
- * modulus is A a
- * exponent is B b
- * private key is u x
+
+ /* RSA: does not use these.
*/
/* this is used to hold the peers authentication data