diff options
Diffstat (limited to 'lib/auth_x509.h')
-rw-r--r-- | lib/auth_x509.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/auth_x509.h b/lib/auth_x509.h index e8e139caab..80d7d2efc7 100644 --- a/lib/auth_x509.h +++ b/lib/auth_x509.h @@ -1,9 +1,7 @@ #ifndef AUTH_X509_H # define AUTH_X509_H # include "gnutls_cert.h" - -/* this is not to be included by gnutls_anon.c */ -extern MOD_AUTH_STRUCT rsa_auth_struct; +# include "gnutls_auth.h" /* This structure may be complex but, it's the only way to * support a server that has multiple certificates @@ -42,6 +40,7 @@ typedef struct { time_t peer_certificate_expiration_time; char subjectAltName[X509_CN_SIZE]; unsigned char keyUsage; + int certificate_requested; } X509PKI_CLIENT_AUTH_INFO; void _gnutls_copy_x509_client_auth_info( X509PKI_CLIENT_AUTH_INFO* info, gnutls_cert* cert, CertificateStatus verify); |