From: Nikos Mavrogiannopoulos Date: Sat, 27 Mar 2010 00:23:49 +0000 (+0100) Subject: increased small value for certificates. Typical certificates are much longer than... X-Git-Tag: gnutls_2_9_10~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32bf9ae015b6764cb79eff346e699965ae7f26d3;p=thirdparty%2Fgnutls.git increased small value for certificates. Typical certificates are much longer than that. --- diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 9f1d1b1354..f4e59e021e 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -847,7 +847,7 @@ _gnutls_x509_crt_to_gcert (gnutls_cert * gcert, if (!(flags & CERT_NO_COPY)) { -#define SMALL_DER 512 +#define SMALL_DER 1536 opaque *der; size_t der_size = SMALL_DER;