diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-12-30 10:56:33 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-12-30 10:56:33 +0000 |
commit | b79c2a0e5f74f58d7c195929c8d8db0d7c3fe6c9 (patch) | |
tree | 885f652029fc9a680d2b1e1d364b26a059e59255 /lib/x509 | |
parent | 7a113668c158b867a5849851ee489697fe76aa5b (diff) | |
download | gnutls-b79c2a0e5f74f58d7c195929c8d8db0d7c3fe6c9.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib/x509')
-rw-r--r-- | lib/x509/rfc2818_hostname.c | 1 | ||||
-rw-r--r-- | lib/x509/x509.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c index a3c4a03048..4cc66cf0ac 100644 --- a/lib/x509/rfc2818_hostname.c +++ b/lib/x509/rfc2818_hostname.c @@ -28,6 +28,7 @@ #include <common.h> #include <gnutls/compat8.h> #include <rfc2818.h> +#include <gnutls_errors.h> /* compare hostname against certificate, taking account of wildcards * return 1 on success or 0 on error diff --git a/lib/x509/x509.c b/lib/x509/x509.c index ccfbaf1580..f0455bb820 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -1408,6 +1408,13 @@ int result; * * This function will return the CRL distribution points (2.5.29.31), contained in the * given certificate. + * + * @reason_flags should be an ORed sequence of GNUTLS_CRL_REASON_UNUSED, + * GNUTLS_CRL_REASON_KEY_COMPROMISE, GNUTLS_CRL_REASON_CA_COMPROMISE, + * GNUTLS_CRL_REASON_AFFILIATION_CHANGED, GNUTLS_CRL_REASON_SUPERSEEDED, + * GNUTLS_CRL_REASON_CESSATION_OF_OPERATION, GNUTLS_CRL_REASON_CERTIFICATE_HOLD, + * GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN, GNUTLS_CRL_REASON_AA_COMPROMISE, + * or zero for all possible reasons. * * This is specified in X509v3 Certificate Extensions. GNUTLS will return the * distribution point type, or a negative error code on error. |