mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* gpgkeys_hkp.c (send_key): Send a content-type.
This commit is contained in:
parent
39c7b95e93
commit
8987a56bea
@ -1,3 +1,7 @@
|
||||
2004-01-13 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* gpgkeys_hkp.c (send_key): Send a content-type.
|
||||
|
||||
2003-12-05 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap.c (main): Avoid possible pre-string write.
|
||||
|
@ -156,6 +156,10 @@ int send_key(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Some keyservers require this Content-Type (e.g. CryptoEx). */
|
||||
iobuf_writestr(hd.fp_write,
|
||||
"Content-Type: application/x-www-form-urlencoded\r\n");
|
||||
|
||||
sprintf(request,"Content-Length: %u\r\n",
|
||||
(unsigned)iobuf_get_temp_length(temp)+9);
|
||||
iobuf_writestr(hd.fp_write,request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user