diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-14 09:45:20 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-14 09:45:20 +0000 |
commit | 9746d01d3576874253237e6341724657069d6c37 (patch) | |
tree | 79bb7f95a46542d74914d3047a71632727bca88e /lib/gnutls_auth.c | |
parent | b530091f8591014f3f111dc3d2139a95d7c1b13d (diff) | |
download | gnutls-9746d01d3576874253237e6341724657069d6c37.tar.gz |
added functions to access authentication data (like username), and
the key exchange algorithm used.
Diffstat (limited to 'lib/gnutls_auth.c')
-rw-r--r-- | lib/gnutls_auth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_auth.c b/lib/gnutls_auth.c index 9ed24c4e3c..f04e9df78b 100644 --- a/lib/gnutls_auth.c +++ b/lib/gnutls_auth.c @@ -116,3 +116,7 @@ void *_gnutls_get_kx_cred( GNUTLS_KEY key, int kx, int *err) { if (err!=NULL) *err=0; return ccred->credentials; } + +void* gnutls_get_auth_info( GNUTLS_STATE state) { + return &state->gnutls_key->auth_info; +} |