]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated get_auth_info()
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 14 Jun 2001 20:26:57 +0000 (20:26 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 14 Jun 2001 20:26:57 +0000 (20:26 +0000)
lib/gnutls_auth.c

index a9768c38708ba72c78823271bf382492942be4ae..6123b84dbb19376e1eabe3c78c568ee162596c38 100644 (file)
@@ -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;