summaryrefslogtreecommitdiff
path: root/lib/gnutls_auth.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-03 15:22:50 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-03 15:22:50 +0000
commitab11b0690d6b169f990bc4fd3a190ff6303e2958 (patch)
tree233700e90d680fed759cb06429c45049bcf0df07 /lib/gnutls_auth.c
parent8d03a6c316e7c46b48e5f1daed07cf89d26395e8 (diff)
downloadgnutls-ab11b0690d6b169f990bc4fd3a190ff6303e2958.tar.gz
*** empty log message ***
Diffstat (limited to 'lib/gnutls_auth.c')
-rw-r--r--lib/gnutls_auth.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/gnutls_auth.c b/lib/gnutls_auth.c
index 7f3f344a18..ec293618bf 100644
--- a/lib/gnutls_auth.c
+++ b/lib/gnutls_auth.c
@@ -69,16 +69,15 @@ int gnutls_clear_creds( gnutls_session session) {
* structure. Thus you will have to keep the structure allocated until
* you call gnutls_deinit(). ]
*
- * For GNUTLS_CRD_ANON cred should be ANON_CLIENT_CREDENTIALS in case of a client.
- * In case of a server it should be ANON_SERVER_CREDENTIALS.
+ * For GNUTLS_CRD_ANON cred should be gnutls_anon_client_credentials in case of a client.
+ * In case of a server it should be gnutls_anon_server_credentials.
*
- * For GNUTLS_CRD_SRP cred should be SRP_CLIENT_CREDENTIALS
- * in case of a client, and SRP_SERVER_CREDENTIALS, in case
+ * For GNUTLS_CRD_SRP cred should be gnutls_srp_client_credentials
+ * in case of a client, and gnutls_srp_server_credentials, in case
* of a server.
*
- * For GNUTLS_CRD_CERTIFICATE cred should be CERTIFICATE_CLIENT_CREDENTIALS
- * in case of a client, and CERTIFICATE_SERVER_CREDENTIALS, in case
- * of a server.
+ * For GNUTLS_CRD_CERTIFICATE cred should be gnutls_certificate_credentials.
+ *
**/
int gnutls_credentials_set( gnutls_session session, gnutls_credentials_type type, void* cred) {
AUTH_CRED * ccred=NULL, *pcred=NULL;