From c7447e78e2abb1298fecb9861fe420109c91f14f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 23 May 1999 12:29:05 +0000 Subject: See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch --- g10/hkp.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'g10/hkp.c') diff --git a/g10/hkp.c b/g10/hkp.c index cd5b177b1..cd21d3ec6 100644 --- a/g10/hkp.c +++ b/g10/hkp.c @@ -49,6 +49,9 @@ static int urlencode_filter( void *opaque, int control, int hkp_ask_import( u32 *keyid ) { + #ifdef HAVE_DOSISH_SYSTEM + return -1; + #else struct http_context hd; char *request; int rc; @@ -75,6 +78,7 @@ hkp_ask_import( u32 *keyid ) m_free( request ); return rc; + #endif } @@ -82,6 +86,9 @@ hkp_ask_import( u32 *keyid ) int hkp_import( STRLIST users ) { + #ifdef HAVE_DOSISH_SYSTEM + return -1; + #else if( !opt.keyserver_name ) { log_error("no keyserver known (use option --keyserver)\n"); return -1; @@ -97,12 +104,16 @@ hkp_import( STRLIST users ) hkp_ask_import( kid ); } return 0; + #endif } int hkp_export( STRLIST users ) { + #ifdef HAVE_DOSISH_SYSTEM + return -1; + #else int rc; armor_filter_context_t afx; IOBUF temp = iobuf_temp(); @@ -177,6 +188,7 @@ hkp_export( STRLIST users ) } http_close( &hd ); return rc; + #endif } static int -- cgit v1.2.3