diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-03 15:22:50 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-03 15:22:50 +0000 |
commit | ab11b0690d6b169f990bc4fd3a190ff6303e2958 (patch) | |
tree | 233700e90d680fed759cb06429c45049bcf0df07 /lib/gnutls_auth.c | |
parent | 8d03a6c316e7c46b48e5f1daed07cf89d26395e8 (diff) | |
download | gnutls-ab11b0690d6b169f990bc4fd3a190ff6303e2958.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib/gnutls_auth.c')
-rw-r--r-- | lib/gnutls_auth.c | 13 |
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; |