gnutls_certificate_set_rsa_export_params().
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
}
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
*/
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
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,
}
/**
- * 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.
*
* 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;
}
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.");
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"