summaryrefslogtreecommitdiff
path: root/lib/gnutls_rsa_export.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-05 18:10:59 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-05 18:10:59 +0000
commit388797851a48fc6fbcee50a00eb4c78be72e40f9 (patch)
tree607c28d8ea9b23a940c89d3d1711b760dea28181 /lib/gnutls_rsa_export.c
parent511efe55dd36eb5908f8019f927a7c31dde3c880 (diff)
downloadgnutls-388797851a48fc6fbcee50a00eb4c78be72e40f9.tar.gz
several internal types fix.
Diffstat (limited to 'lib/gnutls_rsa_export.c')
-rw-r--r--lib/gnutls_rsa_export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_rsa_export.c b/lib/gnutls_rsa_export.c
index 57e15ebb12..597a45145a 100644
--- a/lib/gnutls_rsa_export.c
+++ b/lib/gnutls_rsa_export.c
@@ -42,7 +42,7 @@
/* returns e and m, depends on the requested bits.
* We only support limited key sizes.
*/
-const GNUTLS_MPI* _gnutls_get_rsa_params(gnutls_rsa_params rsa_params)
+const mpi_t* _gnutls_get_rsa_params(gnutls_rsa_params rsa_params)
{
if (rsa_params == NULL) {
return NULL;
@@ -55,7 +55,7 @@ const GNUTLS_MPI* _gnutls_get_rsa_params(gnutls_rsa_params rsa_params)
/* resarr will contain: modulus(0), public exponent(1), private exponent(2),
* prime1 - p (3), prime2 - q(4), u (5).
*/
-int _gnutls_rsa_generate_params(GNUTLS_MPI* resarr, int* resarr_len, int bits)
+int _gnutls_rsa_generate_params(mpi_t* resarr, int* resarr_len, int bits)
{
int ret;