1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-21 19:48:05 +01:00

* hkp.c (hkp_export): Send a content-type line.

This commit is contained in:
Werner Koch 2004-01-13 11:18:18 +00:00
parent 21d83f02fa
commit 39c7b95e93
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-01-13 Werner Koch <wk@gnupg.org>
* hkp.c (hkp_export): Send a content-type line.
2004-01-09 David Shaw <dshaw@localhost.localdomain>
* packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main),

View File

@ -161,6 +161,10 @@ hkp_export( STRLIST users )
return rc;
}
/* 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 );