diff options
author | Werner Koch <[email protected]> | 2004-02-18 18:05:38 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-02-18 18:05:38 +0000 |
commit | fd8f4ac9f070e748a7a35deb178c40d37e1046f1 (patch) | |
tree | c24ea1b1875a2e83c4ebd2f4342e832958737531 /assuan/assuan-handler.c | |
parent | * gpgsm/t-import.c (check_result): gpgsm does now return info in (diff) | |
download | gpgme-fd8f4ac9f070e748a7a35deb178c40d37e1046f1.tar.gz gpgme-fd8f4ac9f070e748a7a35deb178c40d37e1046f1.zip |
* configure.ac: Make the check for funopen fail with just a
warning.
* assuan-handler.c (assuan_get_data_fp): Fail with ENOSYS if we
can't implement this.
Diffstat (limited to '')
-rw-r--r-- | assuan/assuan-handler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assuan/assuan-handler.c b/assuan/assuan-handler.c index f8b85dbb..da519d54 100644 --- a/assuan/assuan-handler.c +++ b/assuan/assuan-handler.c @@ -605,6 +605,7 @@ assuan_get_active_fds (ASSUAN_CONTEXT ctx, int what, FILE * assuan_get_data_fp (ASSUAN_CONTEXT ctx) { +#if defined (HAVE_FOPENCOOKIE) || defined (HAVE_FUNOPEN) if (ctx->outbound.data.fp) return ctx->outbound.data.fp; @@ -614,6 +615,10 @@ assuan_get_data_fp (ASSUAN_CONTEXT ctx) 0, _assuan_cookie_write_flush); ctx->outbound.data.error = 0; return ctx->outbound.data.fp; +#else + errno = ENOSYS; + return NULL; +#endif } |