From: Nikos Mavrogiannopoulos Date: Mon, 17 Sep 2012 22:05:50 +0000 (+0200) Subject: DEFAULT_* -> DEFAULT_MAX_* X-Git-Tag: gnutls_3_1_2~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e8a8311287be4f50153e240a254664dd9c4f366;p=thirdparty%2Fgnutls.git DEFAULT_* -> DEFAULT_MAX_* --- diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 76c5e047e3..cdbedd4858 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -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; diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 42bb935549..d80c2a7255 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -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