summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-03-25 09:50:05 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-03-25 09:50:05 +0000
commit7bdd6c0b89bac2f1e007327ec9d03ba73bfbadd7 (patch)
tree58cfe66f8c5de98d9c6db8e0cc871886b609f1d9
parent09fcc01a2da78bd37c9b0443cde6e606700a3584 (diff)
downloadgnutls-7bdd6c0b89bac2f1e007327ec9d03ba73bfbadd7.tar.gz
*** empty log message ***
-rw-r--r--NEWS2
-rw-r--r--includes/gnutls/compat8.h21
-rw-r--r--includes/gnutls/extra.h2
-rw-r--r--lib/gnutls_ui.h6
4 files changed, 18 insertions, 13 deletions
diff --git a/NEWS b/NEWS
index a45c3a42b5..6c13990ecf 100644
--- a/NEWS
+++ b/NEWS
@@ -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.
*/