- 28 Aug, 2015 3 commits
-
-
Werner Koch authored
* configure.ac: Set LT version to C6/A6/R0. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
* src/assuan-socket.c (cygwin_fdtable, cygwin_fdtable_cs): New. (is_cygwin_fd, insert_cygwin_fd, delete_cygwin_fd): New. (assuan_sock_init) [W32]: Init the CS. (assuan_sock_deinit) [W32]: Deinit the CS. (read_port_and_nonce): Add arg cygwin and detect Cygwin socket files. (_assuan_sock_set_flag): Add "cygwin" flag. (_assuan_sock_get_flag): Ditto. (do_readn, do_writen): New. (_assuan_sock_bind): Create a Cygwin socket file depending on a socket flag. (_assuan_sock_connect): Handle the cygwin socket protocol. (_assuan_sock_check_nonce): Ditto. -- This code has not been tested. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
* src/assuan-inquire.c (assuan_inquire): Clear return args on error. Read up remaining lines after MAXLEN has been hit. -- If we would stop immediately at MAXLEN, as we did, the client would continue to send data which the server may consider as new Assuan commands. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 25 Aug, 2015 1 commit
-
-
Werner Koch authored
* configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. -- This is based on libgpg-error commit d620005fd1a655d591fccb44639e22ea445e4554 but changed to be disabled by default. Check there for some background. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 07 Aug, 2015 1 commit
-
-
Werner Koch authored
* src/assuan-defs.h (wipememory2, wipememory): New. Taken from GnuPG. * src/assuan.c (assuan_release): Wipe the context. -- The assuan context has buffers which may carry senitive information. These buffers could be wiped out with each flush but that is too expensive. Thus we only wipe them when freeing the context. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 30 Jun, 2015 1 commit
-
-
Werner Koch authored
* src/assuan-socket.c (_assuan_sock_set_flag): New. (assuan_sock_set_flag): New. (_assuan_sock_get_flag, assuan_sock_get_flag): New. * src/assuan.h.in (assuan_sock_set_flag): New. (assuan_sock_get_flag): New. * src/libassuan.def: Add them. * src/libassuan.vers: Add them. -- These new functions are intended for a Cygwin socket emulation. This commit merely introduces a generic framework. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 26 Jun, 2015 2 commits
-
-
Werner Koch authored
* src/assuan-defs.h (_assuan_error): Use error source Assuan if no CTX is given. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
* src/assuan-buffer.c (assuan_sendfd): Check that CTX is not NULL. (assuan_receivefd): Ditto. -- This change is to align the behaviour with that of assuan_send_data. Suggested-by: Andre Heinecke. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 01 Jun, 2015 1 commit
-
-
Neal H. Walfield authored
* doc/assuan.texi (assuan_inquire): Fix and improve description of this function.
-
- 12 May, 2015 2 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
-
- 07 May, 2015 2 commits
-
-
Daniel Kahn Gillmor authored
* doc/assuan.texi: fix documentation -- Reading up on assuan to create python bindings uncovered a few bugs in the documentation.
-
Neal H. Walfield authored
-
- 30 Jan, 2015 1 commit
-
-
Werner Koch authored
* src/Makefile.am (extra_ltoptions): New. (libassuan_la_LDFLAGS): Use it. -- Since gcc 4.8 there is a regression in that plain C programs may link to libgcc_s.a which has a dependency on libgcc_s_sjlj.dll. This is for example triggered by using long long arithmetic on a 32 bit Windows (e.g symbol __udivdi3). This patch does not change anything right now but we add it anyway in case long long will ever be used. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 28 Jan, 2015 5 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
* configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. * src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the nonexistent ../include/.
-
Werner Koch authored
* src/assuan-socket-connect.c (assuan_socket_connect_fd): Map fd to assuan_fd_t. -- This function is actually not used by GnuPG. The function should have taken an assuan_fd but given that it did not we use our usual mapping from Windows libc fds to an assuan fd. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
* src/debug.h: Remove traling ", 0" expression part where not useful. -- gcc 4.9 detected this. Probably taken from gpgme but used differently. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
--
-
- 27 Jan, 2015 2 commits
-
-
Werner Koch authored
* src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining. * src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE. -- With the latest mingw-w64 EADDRINUSE is defined but to a different value than WSAEADDRINUSE. We need to use EADDRINUSE becuase that is what applications expect. Signed-off-by:Werner Koch <wk@gnupg.org>
-
Werner Koch authored
--
-
- 11 Dec, 2014 2 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
* configure.ac: Set LT version to C5/A5/R0. (AM_INIT_AUTOMAKE): Add options. * Makefile.am (AUTOMAKE_OPTIONS): Remove.
-
- 28 Nov, 2014 2 commits
-
-
Werner Koch authored
* src/assuan-socket.c (eval_redirection): Stop parsing at the first LF. -- Avoiding LFs in file names is better for logging.
-
Werner Koch authored
* configure.ac (AC_CHECK_FUNC): Check for stat. * src/assuan-socket.c (SUN_LEN): Add. (eval_redirection): New. (_assuan_sock_connect) [!W32]: Implement socket file redirection. (_assuan_sock_set_sockaddr_un): New. (assuan_sock_set_sockaddr_un): New. -- This feature is useful to allow sockets with standard names even on file system which do not supports socket and to help with shared home directories. For example to use GnuPG 2.1 with shared home directories one will be abale to do: rm ~/.gnupg/S.gpg-agent || true printf "%%Assuan%%\nsocket=${HOME}/.gnupg/S.gpg-agent_${HOSTNAME}\n" \ > ~/.gnupg/S.gpg-agent Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 07 Nov, 2014 3 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
* configure.ac: Set LT version to C4/A4/R3.
-
Werner Koch authored
* src/system-w32.c (__assuan_read): Retry using select. Map WSAECONNRESET to EPIPE. (__assuan_write): Retry using select. * src/assuan-buffer.c (readline) [W32]: Return EOF instead of EPIPE.
-
- 17 Aug, 2014 5 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
* configure.ac: Set LT version to C4/A4/R2.
-
Werner Koch authored
* autogen.sh: Add --find-version stuff. Taken from GnuPG. * configure.ac: Change accordingly
-
Werner Koch authored
--
-
Werner Koch authored
* src/context.c (assuan_set_error): Do not pass NULL for %s in the trace function. -- This likely fixes GnuPG-bug-id: 1659
-
- 30 Jun, 2014 1 commit
-
-
Werner Koch authored
* src/debug.c (_assuan_debug): Check wether CAT want to be logged.
-
- 16 Apr, 2014 1 commit
-
-
Werner Koch authored
* src/debug.h (TRACE_ERR): Check CTX before a deref. * src/assuan-defs.h (_assuan_error): Turn into an inline function and check CTX before a deref. -- Found by Hans-Christoph Steiner with cppcheck.
-
- 10 Jan, 2014 2 commits
-
-
Werner Koch authored
* autogen.rc: New. * Makefile.am (EXTRA_DIST): Add it. * autogen.sh: Update from GnuPG.
-
Werner Koch authored
* compile, config.guess, config.rpath, config.sub, depcomp, ltmain.sh * doc/mdate-sh, doc/texinfo.tex, install-sh, missing: Move to build-aux/. * Makefile.am (EXTRA_DIST): Remove config.rpath - it is implicitly distributed. * configure.ac (AC_CONFIG_AUX_DIR): New. (AM_SILENT_RULES): New.
-
- 06 Jan, 2014 1 commit
-
-
Werner Koch authored
-- This is the version from current libgpg-error which already has the changes done here plus these: bf0d67db * Update libtool to support Android. dd05f379 * Fix libtool 2.4.2 to correctly detect .def files. 6971fe55 * Update to libtool 2.4.2.
-
- 03 Dec, 2013 1 commit
-
-
Werner Koch authored
* config.guess, config.sub: Update to latest version (2013-11-29). * m4/libtool.m4: Add patches for ppc64le. -- We don't want to update libtool, thus we use patches supplied by IBM.
-
- 24 Jun, 2013 1 commit
-
-
Werner Koch authored
--
-