summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use -no-fast-install LDFLAGS for Windows.NIIBE Yutaka2023-05-121-0/+4
| | | | | | | | * tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Fix for POSIX machine.NIIBE Yutaka2023-05-111-0/+2
| | | | | | | | * modified tests/pipeconnect.c (cmd_cat): Ifdef-out W32. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* w32: Fix test header file for 64-bit Windows.NIIBE Yutaka2023-05-101-1/+7
| | | | | | | | * tests/common.h: Add for HAVE_W64_SYSTEM. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* w32: Fix pipeconnect test program for Windows.NIIBE Yutaka2023-05-101-3/+22
| | | | | | | | * tests/pipeconnect.c: Fix for input_fd and output_fd. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* w32: Fix the semantics of sending FD, it's Windows HANDLE.NIIBE Yutaka2023-05-101-0/+21
| | | | | | | | | | | | * src/assuan-handler.c (w32_handler_sendfd): It's Windows HANDLE. * src/system-w32.c (get_file_handle, w32_fdpass_send): Likewise. * tests/fdpassing.c (cmd_echo): Received FD is Windows HANDLE. (client): Use Windows HANDLE for assuan_sendfd. -- GnuPG-bug-id: 6236 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Fix make dist targetAndre Heinecke2022-11-181-1/+1
| | | | * tests/Makefile.am (EXTRA_DIST): Add fdpassing-socket.sh
* tests: Use common code for Windows.NIIBE Yutaka2022-11-091-8/+2
| | | | | | | | * tests/fdpassing.c (main): Get program name from ARGV. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Add fdpassing-socket.sh script.NIIBE Yutaka2022-11-084-64/+208
| | | | | | | | | | | | | | | * tests/Makefile.am (TESTS_ENVIRONMENT): Export EXEEXT. (test_programs): New. Run pipeconnect for Windows, too. (check_SCRIPTS): New. (TESTS): Now, it's test_programs and check_SCRIPTS. (noinst_PROGRAMS): Not including check_SCRIPTS. (tests/fdpassing-socket.sh): New, to test socket connection. * tests/fdpassing.c: Include socket connection test. * tests/pipeconnect.c: Fix for Windows. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* w32: Support fd passing through pipe.NIIBE Yutaka2022-11-072-15/+23
| | | | | | | | | | | | | | | | * src/assuan-pipe-connect.c (initial_handshake): Get peer's PID from the initial interaction. * src/assuan-pipe-server.c (assuan_init_pipe_server): Handle the case of FILEDES == NULL on Windows. * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS): Add fdpassing. * tests/fdpassing.c: Remove including sys/socket.h and sys/wait.h. (cmd_echo): Output to stder, as stdout is /dev/null. (main): Support Windows. -- GnuPG-bug-id: 6236 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Drop WindowsCE support.NIIBE Yutaka2022-08-315-1657/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * contrib/*: Remove. * Makefile.am (EXTRA_DIST): Don't include contrib/. * configure.ac (HAVE_W32CE_SYSTEM): Remove. * src/gpgcedev.c: Remove. * src/gpgcedev.def: Remove. * src/gpgcemgr.c: Remove. * src/system-w32ce.c: Remove. * src/w32ce-add.h: Remove. * src/w32ce-fd-t.inc.h: Remove. * src/Makefile.am (EXTRA_DIST, parts_of_assuan_h, common_sources): Fix. * src/assuan-buffer.c [HAVE_W32CE_SYSTEM]: No conditionalize. * src/setenv.c [HAVE_W32CE_SYSTEM]: Likewise. * src/assuan-defs.h [HAVE_W32CE_SYSTEM]: Remove dependent part. * src/assuan-error.c [HAVE_W32CE_SYSTEM]: Likewise. * src/assuan-handler.c [HAVE_W32CE_SYSTEM]: Likewise. * src/assuan-socket.c [HAVE_W32CE_SYSTEM]: Likewise. * src/system.c [HAVE_W32CE_SYSTEM]: Likewise. * src/sysutils.c [HAVE_W32CE_SYSTEM]: Likewise. * tests/Makefile.am (EXTRA_DIST): Fix. (w32cetools): Remove. * tests/common.h [HAVE_W32CE_SYSTEM]: Remove dependent part. * tests/pipeconnect.c [HAVE_W32CE_SYSTEM]: Likewise. * tests/ce-createpipe.c: Remove. * tests/ce-server.c: Remove. -- GnuPG-bug-id: 6170 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Remove dead codeJakub Jelen2022-06-081-1/+1
| | | | | | | | * tests/socks5.c (main): Unsigned value is always larger than 0 -- GnuPG-bug-id: 6018 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
* tests: Avoid leaking file descriptors on errorsJakub Jelen2022-06-081-0/+1
| | | | | | | * tests/fdpassing.c (client): Close fp on error -- Signed-off-by: Jakub Jelen <jjelen@redhat.com>
* build: Use Requires.private and Libs.private.NIIBE Yutaka2020-02-251-2/+1
| | | | | | | | | * configure.ac (LIBASSUAN_CONFIG_LIBS): Remove NETLIBS. * src/libassuan.pc.in: Distinguish static link. * tests/Makefile.am: Don't need to link NETLIBS. GnuPG-bug-id: 4624 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.NIIBE Yutaka2019-01-161-1/+2
| | | | | | | | | | * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. -- GnuPG-bug-id: 4298 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Exclude tests for Windows build.NIIBE Yutaka2018-03-271-3/+8
| | | | | | | | | | | * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS, testtools): Fix. -- pipeconnect and socks5 should be changed if we run it on Windows. If so, pipeconnect should use _open_osfhandle to get HANDLE for pipe. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* tests: Fix build.Ben Kibbey2017-11-201-0/+3
| | | | | | * tests/fdpassing.c: Include config.h to define GPGRT_ENABLE_ES_MACROS. Signed-off-by: Ben Kibbey <bjk@luxsci.net>
* Add special check version request \001\001Werner Koch2017-11-151-0/+1
| | | | | | | * src/assuan.c (assuan_check_version): Handle version "\001\001" * tests/version.c (main): Print extended version info. Signed-off-by: Werner Koch <wk@gnupg.org>
* Fix distcheck.Justus Winter2016-07-051-1/+1
| | | | | | * tests/Makefile.am (EXTRA_DIST): Drop compiled test. Signed-off-by: Justus Winter <justus@g10code.com>
* Fix minor memory leaksWerner Koch2016-06-251-13/+15
| | | | | | | | | | | * src/assuan-pipe-connect.c (socketpair_connect): Always free CHILD_FDS. * src/assuan-uds.c (uds_sendfd): Clear CONTROL_U to silence Valgrind. * tests/fdpassing.c (main): Free FNAME. * src/assuan-handler.c (dispatch_command): Remove dead assignment. Signed-off-by: Werner Koch <wk@gnupg.org>
* Fix typos found by codespell.Justus Winter2015-12-011-1/+1
| | | | | -- Signed-off-by: Justus Winter <justus@g10code.com>
* New feature to test for SOCKS5 proxy availability.Werner Koch2015-11-271-2/+32
| | | | | | | | | | * src/assuan-socket.c (socks5_connect): Add special treatment for empty hostnames. (_assuan_sock_connect_byname): Add feature to test for proxy availibility. * tests/socks5.c (main): Add option --have-proxy. Signed-off-by: Werner Koch <wk@gnupg.org>
* Make socks5 test case a bit more robust.Werner Koch2015-11-231-12/+18
| | | | | * tests/socks5.c (main): Call gpgrt_init. Check for write and read errors. Allow building of some parts even w/o getaddrinfo.
* Tests: Cope with broken HTTP servers.Werner Koch2015-10-261-2/+12
| | | | * tests/socks5.c (main): Use GET instead of HEAD
* Support hostname based SOCKS5 connection.Werner Koch2015-10-261-64/+119
| | | | | | | | | | | | | | | | | | | | | | | * src/assuan.h.in (ASSUAN_SOCK_SOCKS): New. (ASSUAN_SOCK_TOR): New. (assuan_sock_connect_byname): New. * src/libassuan.def, src/libassuan.vers: Add that function. * src/assuan-socket.c (socks5_connect): Add args socksport, credentials, hostname, and hostport. Implement user/password authentication and domainname address type. Change callers accordingly. (_assuan_sock_connect_byname): New. (assuan_sock_connect_byname): New. * tests/socks5.c (main): Add options --byname, --user, and --pass. -- The assuan_sock_connect_byname may eventually be extended to work without Tor or SOCKS by using getaddrinfo. Or we move that all to libgpgrt (aka libgpg-error). Signed-off-by: Werner Koch <wk@gnupg.org>
* Support SOCKS5 for assuan_sock_connect.Werner Koch2015-10-182-3/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/assuan-socket.c: Include netinet/in.h and arpa/inet.h. (SOCKS_PORT, TOR_PORT): New constants. (tor_mode): New variable. (_assuan_sock_set_flag): Add flags "tor-mode" and "socks". (_assuan_sock_get_flag): Ditto. (do_readn, do_writen): Always build. (socks5_connect): New. (use_socks): New. (_assuan_sock_connect): Divert to socks5_connect if requested. * tests/socks5.c: New. * configure.ac (AH_TOP): Define GPGRT_ENABLE_ES_MACROS. (AC_CHECK_FUNC): Check for getaddrinfo. * tests/Makefile.am (testtools): New. Add socks5. (AM_LDFLAGS): Add -no-install for easier debugging. -- A future extension might be a new assuan_sock_direct_connect call takes the hostname as a string and returns a new socket. This allows the proxy to do the resolving. However, in the long term these socket wrapper should be moved to libgpgrt (aka libgpg-error). Signed-off-by: Werner Koch <wk@gnupg.org>
* Add assuan_check_version and ASSUAN_VERSION_NUMBER.Werner Koch2013-02-222-5/+95
| | | | | | | | | | | | | | | | | | | | * src/assuan.c (assuan_check_version): New. (digitp, parse_version_number, parse_version_string) (compare_versions): New. Taken from libksba. * configure.ac (VERSION_NUMBER): New ac_subst. * src/Makefile.am (assuan.h): Pass VERSION and VERSION_NUMBER to mkheader. * src/assuan.h.in (ASSUAN_VERSION, ASSUAN_VERSION_NUMBER): New macros. (assuan_check_version): New prototype. * src/libassuan.def, src/libassuan.vers: Add assuan_check_version. * src/mkheader.c (write_special, main): Support version and version_number. * tests/version.c: New. * tests/Makefile.am (TESTS): Add version. -- All our other libs have a version number check, thus we should have one in Libassuan as well.
* w32ce: Adjust to changed API and make it build again.Werner Koch2013-02-221-1/+1
| | | | | | | | | | | * src/system-w32ce.c (__assuan_write, __assuan_recvmsg) (__assuan_sendmsg, __assuan_waitpid): Make functions global. * tests/ce-server.c: Fix syntax error (s/#else/#endif) -- This patch fixes some cruft which has accidentally been introduced over time. The code builds, but due to a lack of ready to use CE box, I was not able to test it.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-011-0/+7
| | | | | | | | | | | | | | * build-aux/gitlog-to-changelog: New script. Taken from gnulib. * build-aux/git-log-fix: New file. * build-aux/git-log-footer: New file. * doc/HACKING: New file. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. * autogen.sh: Install commit-msg hook for git. Rename all ChangeLog files to ChangeLog-2011.
* Include sys/select.h in a test utility.Werner Koch2011-03-282-48/+53
| | | | | This fixes bug#1328 (libassuan: ce-server fails to compile on Darwin due to missing include).
* Fix bug#1205Werner Koch2010-10-112-2/+6
|
* Changed the implementation of CreatePipe under W32CE.Werner Koch2010-03-225-3/+469
| | | | | Reorganized the source.
* A couple of changes to eventually fully support W32ce.Werner Koch2010-02-244-33/+988
|
* Add a run command.Werner Koch2010-01-291-0/+107
|
* Add some commands to the test server.Werner Koch2010-01-282-7/+391
|
* First take on Server for W32CEWerner Koch2010-01-281-0/+271
|
* Cleanups for W32CE.Werner Koch2010-01-282-3/+26
| | | | | Implement getenv replacement for W32CE.
* 2009-11-05 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2009-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/fdpassing.c (main): Call assuan_pipe_connect instead of assuan_pipe_connect_ext. doc/ 2009-11-05 Marcus Brinkmann <marcus@g10code.de> * assuan.texi (Client code): Document ASSUAN_PIPE_CONNECT_FDPASSING and ASSUAN_PIPE_CONNECT_DETACHED. (Server code): Document ASSUAN_SOCKET_SERVER_FDPASSING and ASSUAN_SOCKET_SERVER_ACCEPTED. (Utilities): Update documentation of assuan_get_peercred. src/ 2009-11-05 Marcus Brinkmann <marcus@g10code.de> * assuan.h (struct _assuan_peercred, assuan_peercred_t): New. (assuan_get_peercred): Define on all systems, return assuan_peercred_t. * assuan-defs.h (struct assuan_context_s): Move valid flag out of peercred struct, use struct _assuan_peercred. * libassuan.def: Add assuan_get_peercred. * assuan-connect.c (assuan_get_peercred): Moved to ... * context.c (assuan_get_peercred): ... here. Reimplement. * assuan-socket-server.c (accept_connection_bottom): Adjust access to peercred in context. * assuan.h (ASSUAN_PIPE_CONNECT_FDPASSING) (ASSUAN_PIPE_CONNECT_DETACHED, ASSUAN_SOCKET_SERVER_FDPASSING) (ASSUAN_SOCKET_SERVER_ACCEPTED, ASSUAN_SOCKET_CONNECT_FDPASSING): New. (assuan_pipe_connect_ext): Renamed to ... (assuan_pipe_connect): ... this, overwriting old prototype. (assuan_socket_connect_ext): Renamed to ... (assuan_socket_connect): ... this, overwriting old prototype. (assuan_init_socket_server_ext): Renamed to ... (assuan_init_socket_server): ... this, overwriting old prototype. * assuan-pipe-connect.c: Likewise for functions. * assuan-socket-connect.c: Likewise. * assuan-socket-server.c: Likewise. * libassuan.def (assuan_init_socket_server_ext) (assuan_pipe_connect_ext, assuan_socket_connect_ext): Removed. * libassuan.vers: Likewise.
* Extended HELP command.Werner Koch2009-11-041-1/+1
|
* 2009-09-19 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2009-09-211-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/fdpassing.c: Update to new API. * configure.ac: Check for stdint.h and inttypes.h. Invoke AC_TYPE_UINTPTR_T. doc/ 2009-09-21 Marcus Brinkmann <marcus@g10code.de> * assuan.texi: Update to new API. src/ 2009-09-19 Marcus Brinkmann <marcus@g10code.de> * src/libassuan.vers, src/libassuan.def: Update to new API. * assuan.c, context.c, system.c, debug.c: New files. * Makefile.am (common_sources): Add assuan.c, context.c, system.c and debug.c. * assuan.h: Include <stdarg.h>. Fix inclusion of <gpg-error.h>. (_ASSUAN_EXT_SYM_PREFIX, _ASSUAN_PREFIX1, _ASSUAN_PREFIX2) (_ASSUAN_PREFIX): Remove support for renaming the whole library, now that we have a stable shared library interface that can evolve to cover all needs (particularly those of GPGME). (assuan_malloc_hooks, assuan_malloc_hooks_t, assuan_log_cb_t) (assuan_io_monitor_t): New types. (ASSUAN_LOG_INIT, ASSUAN_LOG_CTX, ASSUAN_LOG_ENGINE) (ASSUAN_LOG_DATA, ASSUAN_LOG_SYSIO, ASSUAN_IO_FROM_PEER) (ASSUAN_IO_TO_PEER, ASSUAN_IO_MONITOR_NOLOG) (ASSUAN_IO_MONITOR_IGNORE): New symbols. (assuan_set_gpg_err_source, assuan_get_gpg_err_source) (assuan_get_malloc_hooks, assuan_set_log_cb, assuan_get_log_cb) (assuan_new, assuan_new_ext, assuan_release): New function prototypes. (assuan_init_pipe_server, assuan_init_socket_server) (assuan_init_socket_server_ext, assuan_pipe_connect) (assuan_pipe_connect_ext, assuan_socket_connect) (assuan_socket_connect_ext): Take a context argument instead of pointer to context. (assuan_deinit_server, assuan_disconnect) (assuan_set_assuan_err_source): Remove function prototypes. * assuan-defs.h (ASSUAN_GCC_A_PURE): Moved here from XXX (_assuan_error): New macro. (struct assuan_context_s): New members err_source, w32_strerror, malloc_hooks, log_cb, log_cb_data: New members. Move confidential into flags. New member engine. (_assuan_log_handler, _assuan_error_default, _assuan_disconnect): New prototypes. (_assuan_new_context): Remove prototype. (_assuan_malloc, _assuan_calloc, _assuan_realloc, _assuan_free): Add context argument to prototype. * assuan-util.c (alloc_func, realloc_func, free_func): Remove global variables. (assuan_set_malloc_hooks, _assuan_malloc, _assuan_realloc) (_assuan_calloc, _assuan_free, assuan_set_pointer) (assuan_get_pointer, assuan_begin_confidential) (assuan_end_confidential, assuan_set_io_monitor, assuan_set_flag) (assuan_get_flag): Move functions to ... * assuan-client.c: Add ctx argument to all invocations of _assuan_error. * assuan-socket-server.c, assuan-socket-connect.c, assuan-connect.c: Likewise. * assuan-buffer.c: Likewise. Also update access to confidential flag. * assuan-uds.c: Add ctx argument to all invocations of _assuan_malloc, _assuan_realloc, _assuan_calloc, _assuan_free and _assuan_error. * assuan_listen.c, assuan-inquire.c, assuan-handler.c: Likewise. * assuan-error.c (err_source): Remove global variable. (assuan_set_assuan_err_source): Removed function. (_assuan_w32_strerror): Moved here from assuan-logging.c and made thread-safe. (_assuan_error): Removed function (is now macro). * assuan-handler.c: Update access to confidential flag. * assuan-socket-server.c (accept_connection_bottom): Update access to confidential flag in context. (assuan_init_socket_server, assuan_init_socket_server_ext): Take ctx argument instead of pointer to ctx. * assuan-inquire.c (init_membuf, put_membuf, get_membuf) (free_membuf): Take context argument and change all callers. * assuan-socket-server.c (assuan_socket_connect) (assuan_socket_connect_ext): Take ctx argument instead of pointer to ctx. * assuan-pipe-connect.c (initial_handshake, pipe_connect_unix) (socketpair_connect, assuan_pipe_connect) (assuan_pipe_connect_ext): Likewise. (socketpair_connect): Now that ctx is not a pointer argument anymore, return if we are server or client in the argv argument. * assuan-logging.c (_assuan_log_handler): New function. (_assuan_w32_strerror): Move to assuan-error.c * assuan-connect.c (assuan_disconnect): Renamed to ... (_assuan_disconnect): ... this. * assuan-pipe-server.c (_assuan_new_context): Removed function. (assuan_init_pipe_server): Take ctx argument instead of pointer to ctx. (_assuan_release_context): Removed function. (_assuan_deinit_server): Reimplement.
* 2009-08-26 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2009-08-262-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Test for versioned symbols support. (LIBASSUAN_LT_CURRENT, LIBASSUAN_LT_AGE) (LIBASSUAN_LT_REVISION): New, set to 0. (LIBASSUAN_CONFIG_API_VERSION): Bump to 2. (AC_CONFIG_MACRO_DIR, AC_DISABLE_STATIC, AC_LIBTOOL_WIN32_DLL) (AC_LIBTOOL_RC, AC_PROG_LIBTOOL, AM_PATH_GPG_ERROR): Invoke. (AC_PROG_RANLIB): Don't invoke. (HAVE_W32_SYSTEM): New AM conditional. (AC_CONFIG_FILES): Add src/versioninfo.rc. * ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: New files from libtool 2.2.6. * tests/Makefile.am (AM_CFLAGS, LDADD): Add gpg-error. * tests/fdpassing.c: Change error values to gpg-error ones. src/ 2009-08-26 Marcus Brinkmann <marcus@g10code.de> * libassuan-config.in: Add gpg-error. * assuan-buffer.c, assuan-inquire.c, assuan-handler.c, assuan-util.c, assuan-client.c, assuan-socket-connect.c, assuan-pipe-connect.c, assuan-defs.h, assuan-socket.c, assuan-connect.c, assuan-uds.c, assuan-socket-server.c, assuan-listen.c, assuan-pipe-server.c: Return gpg_error_t instead assuan_error_t everywhere. Return gpg error codes everywhere. Replace xtrymalloc, xfree, etc with _assuan_malloc, _assuan_free etc. Protect include <config.h> by HAVE_CONFIG_H where not done so already. * versioninfo.rc.in, libassuan.vers, libassuan.def, assuan-error.c: New files. * Makefile.am: Add libtool handling and gpg-error (also for W32). (EXTRA_DIST): Remove mkerrors, add libassuan.vers, versioninfo.rc.in and libassuan.def. (BUILT_SOURCES, MOSTLYCLEANFILES): Removed. (common_sources): Remove assuan-errors.c, add assuan-error.c. * assuan.h: Include <gpg-error.h>. [_ASSUAN_ONLY_GPG_ERRORS]: Feature removed. (assuan_init_connected_socket_server, assuan_strerror) (assuan_pipe_connect2): Removed obsolete interfaces. (assuan_error_t): Removed type. (assuan_flag_t): Changed from enum to unsigned int. (ASSUAN_NO_WAITPID, ASSUAN_CONFIDENTIAL): Changed from enum to macro. (assuan_process): Return gpg_error_t instead of int. (assuan_set_assuan_err_source): Change argument type from int to gpg_err_source_t. * assuan-defs.h (_assuan_error): Change types to gpg_error_t. (err_code, err_is_eof, xtrymalloc, xtrycalloc, xtryrealloc) (xfree): Removed. (set_error): Adjust for gpg-error codes. (_assuan_gpg_strerror_r, _assuan_gpg_strsource): Removed. (struct assuan_context_s): Remove member os_errno. * assuan-socket-server.c (accept_connection): Don't set CTX->os_errno. * mkerrors: Removed file. * assuan-io-pth.c (_assuan_simple_sendmsg) (_assuan_simple_recvmsg), assuan-io.c (_assuan_simple_sendmsg, _assuan_simple_recvmsg): Set errno instead returning error directly (and return -1). * assuan-handler.c (assuan_process_done): Remove handling for old style error values. (process_request, assuan_process): Change return type from int to gpg_error_t. * assuan-client.c (assuan_transact): Remove support for old style error values. * assuan-pipe-connect.c (assuan_pipe_connect2): Removed. * assuan-logging.c (my_strerror_r, my_strsource) (load_libgpg_error, _assuan_gpg_strerror_r) (_assuan_gpg_strsource): Removed.
* 2008-11-03 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2008-11-031-8/+10
| | | | | | | | | | | | | | | | | | | * tests/fdpassing.c (register_commands): Add missing initializer to silence gcc -W warning. src/ 2008-11-03 Marcus Brinkmann <marcus@g10code.de> * assuan-handler.c (std_handler_help): Make I unsigned to silence gcc -W warning. * assuan-logging.c (_assuan_log_print_buffer): Likewise for N. * funopen.c (_assuan_funopen): Remove initializer to silence gcc -W warning. * assuan-handler.c (std_cmd_table): Add missing initializer to silence gcc -W warning. * assuan-socket-server.c (io): Likewise. * assuan-socket-connect.c (assuan_socket_connect_ext): Likewise.
* Switched to LGPLv3.libassuan-1.0.2Werner Koch2007-07-053-12/+6
|
* portability fixeslibassuan-0.9.3Werner Koch2006-10-101-2/+6
|
* distribute motdWerner Koch2006-09-191-1/+1
|
* Fixed problems Nelson H. F. Beebe reported when doing build tests on severalWerner Koch2006-09-192-17/+6
| | | | | platforms.
* 2006-09-19 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2006-09-193-2/+19
| | | | | | | * tests/fdpassing.c (MOTD): New macro. * tests/Makefile.am (AM_CPPFLAGS): New variable. * tests/motd: New file.
* Preparing a new releaselibassuan-0.9.0Werner Koch2006-09-141-2/+6
|
* More tweaks for descriptor passing.Werner Koch2006-09-131-1/+1
| | | | | gpg-connect-agent may now be used as a test program.
* Integrated descriptor passing.Werner Koch2006-09-121-60/+101
|
* fixesWerner Koch2006-09-101-1/+54
|