Enable FD passing and thus building of the UI-server.
* configure.ac: Make --enable-fd-passing the default. * src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Syntax fix.
This commit is contained in:
parent
cdae524b28
commit
5090f6f246
17
NEWS
17
NEWS
@ -1,6 +1,23 @@
|
||||
Noteworthy changes in version 1.4.0 (unreleased)
|
||||
------------------------------------------------
|
||||
|
||||
* New function gpgme_set_global_flag to help debugging on Android.
|
||||
|
||||
* New function gpgme_io_writen as a convenience wrapper around
|
||||
gpgme_io_write.
|
||||
|
||||
* New functions to support the pinentry mode feature of GnuPG 2.1.
|
||||
|
||||
* New macro GPGME_VERSION_NUMBER to allow supporting different API
|
||||
versions without the need for a configure test.
|
||||
|
||||
* Several improvements for gpgme-tool.
|
||||
|
||||
* Better logging of the common "invalid engine" error code.
|
||||
|
||||
* Support for FD passing is now enabled by default. The configure
|
||||
option --disable-fd-passing may be used to disable this.
|
||||
|
||||
* Interface changes relative to the 1.3.1 release:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
GPGME_VERSION_NUMBER NEW.
|
||||
|
@ -870,9 +870,9 @@ AC_CHECK_MEMBER(struct cmsghdr.cmsg_len,
|
||||
#include <unistd.h>
|
||||
])
|
||||
|
||||
use_descriptor_passing=no
|
||||
use_descriptor_passing=yes
|
||||
AC_ARG_ENABLE(fd-passing,
|
||||
AC_HELP_STRING([--enable-fd-passing], [use FD passing if supported]),
|
||||
AC_HELP_STRING([--disable-fd-passing], [do not use FD passing]),
|
||||
use_descriptor_passing=$enableval)
|
||||
|
||||
if test "$supports_descriptor_passing" != "yes"; then
|
||||
|
@ -1338,7 +1338,7 @@ struct engine_ops _gpgme_engine_ops_uiserver =
|
||||
uiserver_set_io_cbs,
|
||||
uiserver_io_event,
|
||||
uiserver_cancel,
|
||||
NULL /* cancel_op */
|
||||
NULL, /* cancel_op */
|
||||
NULL, /* passwd */
|
||||
NULL /* set_pinentry_mode */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user