summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 65b1c9c1b2..85062889c5 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -69,6 +69,7 @@ extern "C" {
/* Key purpose Object Identifiers.
*/
#define GNUTLS_KP_TLS_WWW_SERVER "1.3.6.1.5.5.7.3.1"
+#define GNUTLS_KP_TLS_WWW_CLIENT "1.3.6.1.5.5.7.3.2"
#define GNUTLS_KP_CODE_SIGNING "1.3.6.1.5.5.7.3.3"
#define GNUTLS_KP_EMAIL_PROTECTION "1.3.6.1.5.5.7.3.4"
#define GNUTLS_KP_TIME_STAMPING "1.3.6.1.5.5.7.3.8"
@@ -79,7 +80,7 @@ extern "C" {
*/
typedef enum gnutls_certificate_import_flags {
- GNUTLS_X509_CRT_IMPORT_LIST_FAIL_IF_EXCEED=1
+ GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED=1
/* Fail if the certificates in the buffer are more than
* the space allocated for certificates. The error code
* will be GNUTLS_E_SHORT_MEMORY_BUFFER.
@@ -90,7 +91,7 @@ int gnutls_x509_crt_init(gnutls_x509_crt_t * cert);
void gnutls_x509_crt_deinit(gnutls_x509_crt_t cert);
int gnutls_x509_crt_import(gnutls_x509_crt_t cert, const gnutls_datum_t * data,
gnutls_x509_crt_fmt_t format);
-int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int cert_max,
+int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int *cert_max,
const gnutls_datum_t * data, gnutls_x509_crt_fmt_t format, unsigned int flags);
int gnutls_x509_crt_export( gnutls_x509_crt_t cert,
gnutls_x509_crt_fmt_t format, void* output_data, size_t* output_data_size);