]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
DEFAULT_* -> DEFAULT_MAX_*
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 17 Sep 2012 22:05:50 +0000 (00:05 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 17 Sep 2012 22:05:50 +0000 (00:05 +0200)
lib/gnutls_cert.c
lib/gnutls_int.h

index 76c5e047e3932d52a4c9beb1939909164eca72d1..cdbedd485831d0d96081b9b18fa8edd8be01d264 100644 (file)
@@ -229,8 +229,8 @@ int ret;
       gnutls_free(*res);
       return GNUTLS_E_MEMORY_ERROR;
     }
-  (*res)->verify_bits = DEFAULT_VERIFY_BITS;
-  (*res)->verify_depth = DEFAULT_VERIFY_DEPTH;
+  (*res)->verify_bits = DEFAULT_MAX_VERIFY_BITS;
+  (*res)->verify_depth = DEFAULT_MAX_VERIFY_DEPTH;
   (*res)->verify_flags = GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN;
 
   return 0;
index 42bb9355497c87e3e5184e7da7c55f52de02d16f..d80c2a725550e370ec2826620ba7edb8bc047cef 100644 (file)
@@ -200,8 +200,8 @@ typedef enum transport_t
 
 /* defaults for verification functions
  */
-#define DEFAULT_VERIFY_DEPTH 16
-#define DEFAULT_VERIFY_BITS 16*1024
+#define DEFAULT_MAX_VERIFY_DEPTH 16
+#define DEFAULT_MAX_VERIFY_BITS 16*1024
 
 #include <gnutls_mem.h>