mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Increase the default buffer size for DNS certificates.
* common/t-dns-cert.c (main): Increase MAX_SIZE to 64k. * g10/keyserver.c (DEFAULT_MAX_CERT_SIZE): Increase from 16k to 64k.
This commit is contained in:
parent
982105f1ce
commit
f95cb909ba
3 changed files with 9 additions and 2 deletions
|
@ -115,8 +115,9 @@ static gpg_error_t keyserver_put (ctrl_t ctrl, strlist_t keyspecs,
|
|||
struct keyserver_spec *keyserver);
|
||||
|
||||
|
||||
/* Reasonable guess */
|
||||
#define DEFAULT_MAX_CERT_SIZE 16384
|
||||
/* Reasonable guess. The commonly used test key simon.josefsson.org
|
||||
is larger than 32k, thus we need at least this value. */
|
||||
#define DEFAULT_MAX_CERT_SIZE 65536
|
||||
|
||||
static size_t max_cert_size=DEFAULT_MAX_CERT_SIZE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue