1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

* gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup and

comments as to the size of MAX_LINE and MAX_URL.
This commit is contained in:
David Shaw 2005-05-02 00:46:39 +00:00
parent f02fe1dafb
commit 5e6d360596
4 changed files with 23 additions and 10 deletions

View file

@ -27,13 +27,11 @@
#include <curl/curl.h>
#endif
#define GET 0
#define SEND 1
#define SEARCH 2
/* MAX_LINE must be 1 larger than the largest item we expect to
receive. */
#define MAX_LINE 1080
/* MAX_LINE must be at least 1 larger than the largest item we expect
to receive, including the name tag ("COMMAND", "PORT", etc) and
space between. In practice, that means it should be
strlen("OPAQUE")+1+sizeof_opaque+1 */
#define MAX_LINE (6+1+1024+1)
#define MAX_COMMAND 6
#define MAX_OPTION 256