summaryrefslogtreecommitdiff
path: root/lib/gnutls_mpi.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-07 18:01:45 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-07 18:01:45 +0000
commite9964513db0626bda7ade731b39c388514f653c2 (patch)
tree822bea73eff3248b3d0c14ca8f7a5c17ea60fb31 /lib/gnutls_mpi.h
parent2df1162fa6b6df695d2bd5d50f481c18783538f6 (diff)
downloadgnutls-e9964513db0626bda7ade731b39c388514f653c2.tar.gz
Ported to the new libgcrypt (still unstable). Also added the RC2 cipher and improved the PKCS #12 stuff in order to support it.
Diffstat (limited to 'lib/gnutls_mpi.h')
-rw-r--r--lib/gnutls_mpi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_mpi.h b/lib/gnutls_mpi.h
index 2602992285..07333349d5 100644
--- a/lib/gnutls_mpi.h
+++ b/lib/gnutls_mpi.h
@@ -4,7 +4,7 @@
# include <gcrypt.h>
# include <libtasn1.h>
-#define GNUTLS_MPI GCRY_MPI
+#define GNUTLS_MPI gcry_mpi_t
#define _gnutls_mpi_cmp_ui gcry_mpi_cmp_ui
#define _gnutls_mpi_mod gcry_mpi_mod
@@ -27,7 +27,7 @@
# define _gnutls_mpi_alloc_like(x) _gnutls_mpi_new(_gnutls_mpi_get_nbits(x))
-void _gnutls_mpi_release( MPI* x);
+void _gnutls_mpi_release( GNUTLS_MPI* x);
int _gnutls_mpi_scan( GNUTLS_MPI *ret_mpi, const opaque *buffer, size_t *nbytes );
int _gnutls_mpi_scan_pgp( GNUTLS_MPI *ret_mpi, const opaque *buffer, size_t *nbytes );