aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/hkp.c4
2 files changed, 8 insertions, 0 deletions
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 <[email protected]>
+
+ * hkp.c (hkp_export): Send a content-type line.
+
2004-01-09 David Shaw <[email protected]>
* 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 );