mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01: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
@ -1,5 +1,7 @@
|
||||
2011-11-28 Werner Koch <wk@g10code.com>
|
||||
|
||||
* t-dns-cert.c (main): Increase MAX_SIZE to 64k.
|
||||
|
||||
* dns-cert.c (get_dns_cert): Factor test code out to ...
|
||||
* t-dns-cert.c: new file.
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2011-11-28 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyserver.c (DEFAULT_MAX_CERT_SIZE): Increase from 16k to 64k.
|
||||
|
||||
2011-11-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* pubkey-enc.c (get_session_key): Don't print anonymous recipient
|
||||
|
@ -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…
x
Reference in New Issue
Block a user