From: Nikos Mavrogiannopoulos Date: Wed, 8 May 2002 10:34:36 +0000 (+0000) Subject: renamed gnutls_gcry* to gnutls_mpi* X-Git-Tag: gnutls_0_4_2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e11102cd3535c69a4f07e059f939687ea3eecd5;p=thirdparty%2Fgnutls.git renamed gnutls_gcry* to gnutls_mpi* --- diff --git a/lib/Makefile.am b/lib/Makefile.am index fcb62b6c51..7129d11bae 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -13,7 +13,7 @@ EXTRA_DIST = debug.h gnutls_compress.h defines.h gnutls.asn pkix.asn \ gnutls_auth_int.h crypt_bcrypt.h gnutls_random.h crypt_srpsha1.h \ x509_b64.h gnutls_srp.h auth_srp.h auth_srp_passwd.h gnutls_v2_compat.h \ crypt.h libgnutls-config.in libgnutls.m4 gnutls.h.in.in gnutls_errors_int.h \ - x509_asn1.h x509_der.h gnutls_datum.h auth_cert.h gnutls_gcry.h \ + x509_asn1.h x509_der.h gnutls_datum.h auth_cert.h gnutls_mpi.h \ gnutls_pk.h gnutls_record.h gnutls_cert.h \ gnutls_privkey.h gnutls_constate.h gnutls_global.h x509_verify.h \ gnutls_sig.h gnutls_mem.h x509_extensions.h gnutls_ui.h \ @@ -33,7 +33,7 @@ COBJECTS = gnutls_record.c gnutls_compress.c debug.c \ crypt_bcrypt.c crypt.c gnutls_random.c crypt_srpsha1.c gnutls_srp.c \ auth_srp.c auth_srp_passwd.c gnutls_v2_compat.c auth_srp_sb64.c \ gnutls_datum.c auth_rsa.c gnutls_session_pack.c \ - gnutls_gcry.c gnutls_pk.c gnutls_cert.c x509_verify.c\ + gnutls_mpi.c gnutls_pk.c gnutls_cert.c x509_verify.c\ gnutls_global.c gnutls_privkey.c gnutls_constate.c gnutls_anon_cred.c \ x509_sig_check.c pkix_asn1_tab.c gnutls_asn1_tab.c gnutls_mem.c \ x509_extensions.c auth_cert.c gnutls_ui.c gnutls_sig.c auth_dhe.c \ diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index bbaf3013da..274bf36c72 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -97,9 +97,7 @@ typedef const int* GNUTLS_LIST; typedef unsigned char opaque; typedef struct { opaque pint[3]; } uint24; -#ifdef USE_GCRYPT -# include -#endif +# include typedef enum crypt_algo { SRPSHA1_CRYPT, BLOWFISH_CRYPT=2 } crypt_algo; typedef enum ChangeCipherSpecType { GNUTLS_TYPE_CHANGE_CIPHER_SPEC=1 } ChangeCipherSpecType; diff --git a/lib/gnutls_gcry.c b/lib/gnutls_mpi.c similarity index 100% rename from lib/gnutls_gcry.c rename to lib/gnutls_mpi.c diff --git a/lib/gnutls_gcry.h b/lib/gnutls_mpi.h similarity index 96% rename from lib/gnutls_gcry.h rename to lib/gnutls_mpi.h index 2248951a52..ba936559cd 100644 --- a/lib/gnutls_gcry.h +++ b/lib/gnutls_mpi.h @@ -1,5 +1,5 @@ -#ifndef GNUTLS_GCRY_H -# define GNUTLS_GCRY_H +#ifndef GNUTLS_MPI_H +# define GNUTLS_MPI_H # include # include