]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Remove GNUTLS_CERTIFICATE_VERIFY_FLAGS_LAST hack, use version number
authorSimon Josefsson <simon@josefsson.org>
Tue, 1 Nov 2005 20:05:16 +0000 (20:05 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 1 Nov 2005 20:05:16 +0000 (20:05 +0000)
defines instead.

includes/gnutls/x509.h

index 0777ec4dc2e12310f475da81f6e56c674c78d023..8e6b9dc40963f9cbd6e31c0a6f0d78f124bcafe8 100644 (file)
@@ -390,12 +390,6 @@ 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,