diff --git a/g10/ChangeLog b/g10/ChangeLog index 6cb69747d..9b0645bb0 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,7 @@ +2004-01-13 Werner Koch + + * hkp.c (hkp_export): Send a content-type line. + 2004-01-09 David Shaw * packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main), diff --git a/g10/hkp.c b/g10/hkp.c index 287638371..d62becff2 100644 --- a/g10/hkp.c +++ b/g10/hkp.c @@ -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 );