diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-11-01 10:16:33 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-11-01 10:16:33 +0000 |
commit | e2389bb9f044567c0081bdcc78220061a54b9206 (patch) | |
tree | 904adeb426b5289edd1814a791d702cc966bbb5a /includes | |
parent | ce06b75d64aecb0fd4916761b8c5bb8e1bd707f9 (diff) | |
download | gnutls-e2389bb9f044567c0081bdcc78220061a54b9206.tar.gz |
Add GNUTLS_CERTIFICATE_VERIFY_FLAGS_LAST, based on report by Daniel
Stenberg <daniel@haxx.se>.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/x509.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h index 8e6b9dc409..0777ec4dc2 100644 --- a/includes/gnutls/x509.h +++ b/includes/gnutls/x509.h @@ -390,6 +390,12 @@ extern "C" /* Allow certificates to be signed using the broken MD5 algorithm. */ GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5 = 32 + + /* Increment this define if you add new enum's. The purpose of + this CPP symbol is to let application figure out which flags + are supported through CPP checks in the code, and to avoid + lengthy autoconf snippets in every application. */ +#define GNUTLS_CERTIFICATE_VERIFY_FLAGS_LAST 32 } gnutls_certificate_verify_flags; int gnutls_x509_crt_check_issuer (gnutls_x509_crt_t cert, |