summaryrefslogtreecommitdiff
path: root/lib/auth_cert.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-28 15:17:50 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-28 15:17:50 +0000
commit291e102c0618d6c342e6d6abf4c4cc0be5d333f5 (patch)
treea6b20d1dc9fd0ae10daa36f9bf3ea552db6d8288 /lib/auth_cert.h
parentff4c7c67a36b23114cbb9175820826ee048f5edb (diff)
downloadgnutls-291e102c0618d6c342e6d6abf4c4cc0be5d333f5.tar.gz
updated the client retrieval certificate callback.
Diffstat (limited to 'lib/auth_cert.h')
-rw-r--r--lib/auth_cert.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/auth_cert.h b/lib/auth_cert.h
index 3e26c21207..d99991a9b7 100644
--- a/lib/auth_cert.h
+++ b/lib/auth_cert.h
@@ -19,14 +19,15 @@ typedef struct retr_st {
} key;
uint deinit_all;
-} retr_st;
+} gnutls_retr_st;
-typedef int gnutls_certificate_client_retrieve_function(
- struct gnutls_session_int*, const gnutls_datum* req_ca_cert, int nreqs,
- retr_st*);
+typedef int gnutls_certificate_client_retrieve_function(gnutls_session,
+ const gnutls_datum* req_ca_rdn, int nreqs,
+ const gnutls_pk_algorithm* pk_algos, int pk_algos_length,
+ gnutls_retr_st *);
typedef int gnutls_certificate_server_retrieve_function(
- struct gnutls_session_int*, retr_st*);
+ struct gnutls_session_int*, gnutls_retr_st*);
/* This structure may be complex, but it's the only way to
* support a server that has multiple certificates