From: Nikos Mavrogiannopoulos Date: Thu, 14 Jun 2001 20:26:57 +0000 (+0000) Subject: updated get_auth_info() X-Git-Tag: gnutls_0_1_4~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=962ec6bdec17f6fea0603f50bcd418f5e4d0b01d;p=thirdparty%2Fgnutls.git updated get_auth_info() --- diff --git a/lib/gnutls_auth.c b/lib/gnutls_auth.c index a9768c3870..6123b84dbb 100644 --- a/lib/gnutls_auth.c +++ b/lib/gnutls_auth.c @@ -150,11 +150,13 @@ const void *_gnutls_get_cred( GNUTLS_KEY key, CredType type, int *err) { * @state: is a &GNUTLS_STATE structure. * * This function must be called after a succesful gnutls_handshake(). - * Returns a pointer to authentication information. + * Returns a pointer to authentication information. That information + * is data obtained by the handshake protocol, the key exchange algorithm, + * and the TLS extensions messages. * - * In case of %GNUTLS_KX_ANON returns a pointer to &DH_ANON_AUTH_INFO; + * In case of %GNUTLS_ANON returns a pointer to &ANON_AUTH_INFO; * - * In case of %GNUTLS_KX_SRP returns a pointer to structure &SRP_AUTH_INFO; + * In case of %GNUTLS_SRP returns a pointer to structure &SRP_AUTH_INFO; **/ const void* gnutls_get_auth_info( GNUTLS_STATE state) { return state->gnutls_key->auth_info;