summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-06 17:21:22 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-06 17:21:22 +0000
commit1d55c5755fdcc843020e1c05279a1cb3772f5a7a (patch)
treef74e080408e23b5291a9afca46596ce1f522c601 /lib
parentb0d4b6150fac1f17c61058a19e86ccedc2ff87c2 (diff)
downloadgnutls-1d55c5755fdcc843020e1c05279a1cb3772f5a7a.tar.gz
some cleanups.
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_int.h9
-rw-r--r--lib/gnutls_ui.h6
2 files changed, 10 insertions, 5 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 537b0d373b..1454c70ba8 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -394,9 +394,12 @@ typedef struct {
unsigned int algorithms;
} GNUTLS_Priority;
-typedef int certificate_client_select_func(struct gnutls_session_int*, const gnutls_datum *, int, const gnutls_datum *, int);
-typedef int certificate_server_select_func(struct gnutls_session_int*, const gnutls_datum *, int);
-typedef int srp_server_select_func(struct gnutls_session_int*, char**, char**, int);
+typedef int certificate_client_select_func(struct gnutls_session_int*,
+ const gnutls_datum *, unsigned int, const gnutls_datum *, unsigned int);
+typedef int certificate_server_select_func(struct gnutls_session_int*,
+ const gnutls_datum *, unsigned int);
+typedef int srp_server_select_func(struct gnutls_session_int*,
+ const char**, const char**, unsigned int);
typedef struct {
opaque header[HANDSHAKE_HEADER_SIZE];
diff --git a/lib/gnutls_ui.h b/lib/gnutls_ui.h
index 1ea8fec341..9181b20ece 100644
--- a/lib/gnutls_ui.h
+++ b/lib/gnutls_ui.h
@@ -34,8 +34,10 @@ typedef enum gnutls_x509_subject_alt_name {
# ifdef LIBGNUTLS_VERSION /* These are defined only in gnutls.h */
-typedef int gnutls_certificate_client_select_function(gnutls_session, const gnutls_datum *, int, const gnutls_datum *, int);
-typedef int gnutls_certificate_server_select_function(gnutls_session, const gnutls_datum *, int);
+typedef int gnutls_certificate_client_select_function(gnutls_session,
+ const gnutls_datum *, unsigned int, const gnutls_datum *, unsigned int);
+typedef int gnutls_certificate_server_select_function(gnutls_session,
+ const gnutls_datum *, unsigned int);
/* Functions that allow AUTH_INFO structures handling
*/