diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-03-25 09:50:05 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-03-25 09:50:05 +0000 |
commit | 7bdd6c0b89bac2f1e007327ec9d03ba73bfbadd7 (patch) | |
tree | 58cfe66f8c5de98d9c6db8e0cc871886b609f1d9 | |
parent | 09fcc01a2da78bd37c9b0443cde6e606700a3584 (diff) | |
download | gnutls-7bdd6c0b89bac2f1e007327ec9d03ba73bfbadd7.tar.gz |
*** empty log message ***
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | includes/gnutls/compat8.h | 21 | ||||
-rw-r--r-- | includes/gnutls/extra.h | 2 | ||||
-rw-r--r-- | lib/gnutls_ui.h | 6 |
4 files changed, 18 insertions, 13 deletions
@@ -6,6 +6,8 @@ Version 1.0.9 and gnutls_x509_privkey_cpy(). - Corrected a compilation issue when opencdk was installed in a non standard directory. +- Documented the changes need in multi-threaded application due + to the new libgcrypt. Version 1.0.8 (28/02/2004) - Corrected bug in mutual certificate authentication in SSL 3.0. diff --git a/includes/gnutls/compat8.h b/includes/gnutls/compat8.h index 96dc2c7765..92382c8817 100644 --- a/includes/gnutls/compat8.h +++ b/includes/gnutls/compat8.h @@ -1,16 +1,6 @@ #ifndef GNUTLS_COMPAT8_H # define GNUTLS_COMPAT8_H -/* Extra definitions */ - -#define GNUTLS_X509_CN_SIZE 256 -#define GNUTLS_X509_C_SIZE 3 -#define GNUTLS_X509_O_SIZE 256 -#define GNUTLS_X509_OU_SIZE 256 -#define GNUTLS_X509_L_SIZE 256 -#define GNUTLS_X509_S_SIZE 256 -#define GNUTLS_X509_EMAIL_SIZE 256 - #ifdef __GNUC__ #define _GT_GCC_VERSION (__GNUC__ * 10000 \ @@ -29,6 +19,17 @@ # define DEPRECATED #endif + +/* Extra definitions */ + +#define GNUTLS_X509_CN_SIZE 256 +#define GNUTLS_X509_C_SIZE 3 +#define GNUTLS_X509_O_SIZE 256 +#define GNUTLS_X509_OU_SIZE 256 +#define GNUTLS_X509_L_SIZE 256 +#define GNUTLS_X509_S_SIZE 256 +#define GNUTLS_X509_EMAIL_SIZE 256 + typedef struct { char common_name[GNUTLS_X509_CN_SIZE]; char country[GNUTLS_X509_C_SIZE]; diff --git a/includes/gnutls/extra.h b/includes/gnutls/extra.h index 330a29fe6f..ffb9351cc0 100644 --- a/includes/gnutls/extra.h +++ b/includes/gnutls/extra.h @@ -44,7 +44,7 @@ int gnutls_srp_set_server_credentials_file( gnutls_srp_server_credentials res, const char* gnutls_srp_server_get_username( gnutls_session state); typedef int gnutls_srp_server_select_function(gnutls_session, const char **, const char**, unsigned int); -void gnutls_srp_server_set_select_function( gnutls_session, gnutls_srp_server_select_function *); +void gnutls_srp_server_set_select_function( gnutls_session, gnutls_srp_server_select_function *) DEPRECATED; int gnutls_srp_verifier( const char* username, const char* password, const gnutls_datum *salt, diff --git a/lib/gnutls_ui.h b/lib/gnutls_ui.h index 26a33345e4..f30f5afae0 100644 --- a/lib/gnutls_ui.h +++ b/lib/gnutls_ui.h @@ -67,10 +67,12 @@ int gnutls_rsa_export_get_modulus_bits(gnutls_session session); #include <gnutls/compat8.h> +/* those should replaced with the functions that follow. + */ void gnutls_certificate_client_set_select_function(gnutls_session, - gnutls_certificate_client_select_function *); + gnutls_certificate_client_select_function *) DEPRECATED; void gnutls_certificate_server_set_select_function(gnutls_session, - gnutls_certificate_server_select_function *); + gnutls_certificate_server_select_function *) DEPRECATED; /* These are set on the credentials structure. */ |