diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-20 18:20:39 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-20 18:20:39 +0000 |
commit | d3e5a4f7f9790070dc0e2db730bd0ceeb6dcbb97 (patch) | |
tree | 875605dd018b2e11b2aa4b68d0837ac533802424 | |
parent | 43d0692b7c7c5af4067470beb993cc2acc569782 (diff) | |
download | gnutls-d3e5a4f7f9790070dc0e2db730bd0ceeb6dcbb97.tar.gz |
* The gnutls_certificate_set_rsa_params() was renamed to
gnutls_certificate_set_rsa_export_params().
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | doc/tex/ex-serv-export.tex | 2 | ||||
-rw-r--r-- | includes/gnutls/compat8.h | 2 | ||||
-rw-r--r-- | lib/gnutls.h.in.in | 2 | ||||
-rw-r--r-- | lib/gnutls_ui.c | 4 | ||||
-rw-r--r-- | src/prime-gaa.c | 2 | ||||
-rw-r--r-- | src/prime.gaa | 2 |
7 files changed, 10 insertions, 6 deletions
@@ -12,6 +12,8 @@ Version 0.9.3 same paper. - Added the functions: gnutls_handshake_get_last_in(), gnutls_handshake_get_last_out(). +- The gnutls_certificate_set_rsa_params() was renamed to + gnutls_certificate_set_rsa_export_params(). Version 0.9.2 (15/03/2003) - Some corrections in the memory mapping code (file is unmapped after diff --git a/doc/tex/ex-serv-export.tex b/doc/tex/ex-serv-export.tex index 011771f648..72866315b8 100644 --- a/doc/tex/ex-serv-export.tex +++ b/doc/tex/ex-serv-export.tex @@ -137,7 +137,7 @@ int main() } gnutls_certificate_set_dh_params(x509_cred, dh_params); - gnutls_certificate_set_rsa_params(x509_cred, rsa_params); + gnutls_certificate_set_rsa_export_params(x509_cred, rsa_params); /* Socket operations */ diff --git a/includes/gnutls/compat8.h b/includes/gnutls/compat8.h index 06a587b32c..3fe274135b 100644 --- a/includes/gnutls/compat8.h +++ b/includes/gnutls/compat8.h @@ -63,4 +63,6 @@ int gnutls_rsa_params_generate(gnutls_datum * m, gnutls_datum *e, int gnutls_dh_params_set( gnutls_dh_params, gnutls_datum prime, gnutls_datum generator, int bits); int gnutls_dh_params_generate( gnutls_datum* prime, gnutls_datum* generator, int bits); +#define gnutls_certificate_set_rsa_params gnutls_certificate_set_rsa_export_params + #endif diff --git a/lib/gnutls.h.in.in b/lib/gnutls.h.in.in index 9b0f5416d1..8bde272900 100644 --- a/lib/gnutls.h.in.in +++ b/lib/gnutls.h.in.in @@ -316,7 +316,7 @@ int gnutls_certificate_allocate_credentials( gnutls_certificate_credentials *sc) void gnutls_certificate_free_keys(gnutls_certificate_credentials sc); void gnutls_certificate_set_dh_params(gnutls_certificate_credentials res, gnutls_dh_params); -void gnutls_certificate_set_rsa_params(gnutls_certificate_credentials res, gnutls_rsa_params rsa_params); +void gnutls_certificate_set_rsa_export_params(gnutls_certificate_credentials res, gnutls_rsa_params rsa_params); void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials res, unsigned int flags); int gnutls_certificate_set_x509_trust_file( gnutls_certificate_credentials res, const char* CAFILE, diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 3ed3fd7bda..d2816e4a9e 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -356,7 +356,7 @@ void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials res, uns } /** - * gnutls_certificate_set_rsa_params - This function will set the RSA parameters for a server to use + * gnutls_certificate_set_rsa_export_params - This function will set the RSA parameters for a server to use * @res: is a gnutls_certificate_credentials structure * @rsa_params: is a structure that holds temporary RSA parameters. * @@ -365,7 +365,7 @@ void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials res, uns * cipher suites. * **/ -void gnutls_certificate_set_rsa_params(gnutls_certificate_credentials res, gnutls_rsa_params rsa_params) +void gnutls_certificate_set_rsa_export_params(gnutls_certificate_credentials res, gnutls_rsa_params rsa_params) { res->rsa_params = rsa_params; } diff --git a/src/prime-gaa.c b/src/prime-gaa.c index 9aa35ffbe8..61c230d287 100644 --- a/src/prime-gaa.c +++ b/src/prime-gaa.c @@ -117,7 +117,7 @@ void __gaa_helpsingle(char short_name, char *name, void gaa_help(void) { printf("Crypt help\nUsage : prime [options]\n"); - __gaa_helpsingle('b', "bits", "BITS ", "specify the number of bits for prime numbers (used only when create_conf option is specified)."); + __gaa_helpsingle('b', "bits", "BITS ", "specify the number of bits for prime numbers."); __gaa_helpsingle('h', "help", "", "shows this help text"); __gaa_helpsingle(0, "c", "", "Print the prime in C language format."); diff --git a/src/prime.gaa b/src/prime.gaa index 47a231ce15..0d00a97158 100644 --- a/src/prime.gaa +++ b/src/prime.gaa @@ -1,7 +1,7 @@ helpnode "Crypt help\nUsage : prime [options]" #int bits; -option (b, bits) INT "BITS" { $bits = $1 } "specify the number of bits for prime numbers (used only when create_conf option is specified)." +option (b, bits) INT "BITS" { $bits = $1 } "specify the number of bits for prime numbers." option (h, help) { gaa_help(); exit(0); } "shows this help text" |