summaryrefslogtreecommitdiff
path: root/lib/auth_rsa_export.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-12 10:57:56 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-12 10:57:56 +0000
commitf2b8289f8cc87c07b54714859fee9c6e053717bf (patch)
tree69a0cdb436b0f4303dd7b93be27073f677d7bd6e /lib/auth_rsa_export.c
parentedb61853219e078ae2d478d998a8ed06315c68f5 (diff)
downloadgnutls-f2b8289f8cc87c07b54714859fee9c6e053717bf.tar.gz
* Added ability to generate RSA keys.
* Increased the maximum parameter size in order to read some large keys by some CAs. Patch by Ian Peters <itp@ximian.com>. * Rolled back some of yesterdays changes. The gnutls_x509_privkey, was replaced (again) by the gnutls_privkey.
Diffstat (limited to 'lib/auth_rsa_export.c')
-rw-r--r--lib/auth_rsa_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_rsa_export.c b/lib/auth_rsa_export.c
index ef1ba7e35e..3c49e72170 100644
--- a/lib/auth_rsa_export.c
+++ b/lib/auth_rsa_export.c
@@ -74,7 +74,7 @@ static int gen_rsa_export_server_kx(gnutls_session session, opaque ** data)
uint8 *data_e, *data_m;
int ret = 0, data_size;
gnutls_cert *apr_cert_list;
- gnutls_x509_privkey apr_pkey;
+ gnutls_privkey* apr_pkey;
int apr_cert_list_length;
gnutls_datum signature, ddata;
CERTIFICATE_AUTH_INFO info;