diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-07-01 22:10:04 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-07-01 22:10:04 +0300 |
commit | 816fedd13bfe1a271968d7bc63a6b13aca271084 (patch) | |
tree | 59009bde4695d1470d4e253b126f971ff05e9f41 /lib/gnutls_ui.c | |
parent | c7e003ad9427c655a1b559baff1239a2c1907f32 (diff) | |
download | gnutls-816fedd13bfe1a271968d7bc63a6b13aca271084.tar.gz |
Corrected gnutls_certificate_client_get_request_status(). Based on observation by Peter Hendrickson <pdh@wiredyne.com>.
Diffstat (limited to 'lib/gnutls_ui.c')
-rw-r--r-- | lib/gnutls_ui.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 4f96762e40..bb4f393e87 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -529,14 +529,7 @@ gnutls_certificate_get_peers (gnutls_session_t int gnutls_certificate_client_get_request_status (gnutls_session_t session) { - cert_auth_info_t info; - - CHECK_AUTH (GNUTLS_CRD_CERTIFICATE, 0); - - info = _gnutls_get_auth_info (session); - if (info == NULL) - return GNUTLS_E_INTERNAL_ERROR; - return info->certificate_requested; + return session->key->certificate_requested; } /** |