aboutsummaryrefslogtreecommitdiffstats
path: root/g10/hkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/hkp.c')
-rw-r--r--g10/hkp.c4
1 files changed, 4 insertions, 0 deletions
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 );