1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-24 20:11:06 +01:00
Werner Koch e03a4a94bb
dirmngr: Do not use MAXDNAME.
* dirmngr/dns-stuff.c (getsrv): Replace MAXDNAME.
* dirmngr/dns-stuff.h (MAXDNAME): Remove.
(struct srventry): Use a fixed value instead of MAXDNAME.
* dirmngr/http.c (connect_server): Use DIMof instead of MAXDNAME.
Malloc a helper array.

--

Depending on the order of included headers it might be that we allocate
the array with a different size than what we test against in another
module.  To make it more robust we use the actual known size of
checking.

A better would be to use a linked list and avoid these large arrays.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-22 09:52:51 +02:00
..
2010-12-14 19:17:58 +00:00
2010-07-23 16:16:14 +00:00
2015-10-21 18:14:24 +02:00
2015-10-21 18:14:24 +02:00
2015-10-22 09:52:51 +02:00
2015-10-22 09:52:51 +02:00
2015-10-22 09:52:51 +02:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2015-03-23 19:58:27 +01:00
2015-10-21 18:14:24 +02:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2015-10-21 18:14:24 +02:00
2015-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00