aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* secmem: Exposed function should have consistent name.gniibe/secmemNIIBE Yutaka2018-09-077-9/+9
| | | | | | | * src/gpg-error.def.in, src/gpg-error.h.in, src/gpg-error.vers: Rename to gpgrt_secmem_is_secure (was: gpgrt_private_is_secure). * src/gpgrt-int.h, src/secmem.c: Reneme for _gpgrt_private_is_secure. * src/visibility.c, src/visibility.h: Follow the rename.
* secmem: Export symbols and the interface.NIIBE Yutaka2018-09-068-18/+136
| | | | | | | | | | | * src/Makefile.am (libgpg_error_la_SOURCES): Add secmem.c and secmem.h. * src/gpg-error.def.in: Add secmem symbols. * src/gpg-error.vers: Likewise. * src/gpg-error.h.in: Add secmem functions and macros. * src/secmem.h: Move internal prototypes to ... * src/gpgrt-int.h: ... here. * src/visibility.c: Add external functions. * src/visibility.h: Declare secmem functions.
* Copy definitions from libgcrypt/src/g10lib.h.NIIBE Yutaka2018-09-062-11/+74
| | | | | | | | | | | * src/secmem.c (PROPERLY_ALIGNED_TYPE): Move to ... * src/semem.h (PROPERLY_ALIGNED_TYPE): ... here. * src/semem.h (LIKELY, UNLIKELY): Copy definitions from libgcrypt/src/g10lib.h. (wipememory2, wipememory) (fast_wipememory2_unaligned_head, fast_wipememory2): Likewise. (FASTWIPE_T, FASTWIPE_MULT): Use uint64_t and ULL of C99.
* Remove fips_mode support originally available in libgcrypt.NIIBE Yutaka2018-09-061-9/+2
| | | | | * _gpgrt_secmem_malloc_internal: Remove fips_mode() call and its handling.
* secmem.c migration into gpgrt.NIIBE Yutaka2018-09-061-31/+43
| | | | | | | | | * src/secmem.c: Include gpgrt-int.h instead of g10lib.h. (PROPERLY_ALIGNED_TYPE): Define here with uint64_t. Originally in libgcrypt/src/types.h. (SECMEM_LOCK, SECMEM_UNLOCK): Use _gpgrt_* functions, instead. (*): Use _gpg_err_set_errno instead (underscore version). (*): Use _gpgrt_log_* functions instead (underscore version).
* Remove _gpgrt_secmem_module_init.NIIBE Yutaka2018-09-061-8/+0
|
* Change gcry -> gpgrt_.NIIBE Yutaka2018-09-062-50/+50
|
* Fix copyright notices.NIIBE Yutaka2018-09-062-19/+24
|
* Add src/secmem.{c,h} from libgcrypt master.NIIBE Yutaka2018-09-062-0/+940
|
* po: Fix the previous commit.NIIBE Yutaka2018-09-061-2/+2
| | | | Signed-off-by: NIIBE Yutaka <[email protected]>
* po: Update Japanese Translation.NIIBE Yutaka2018-09-051-2/+2
|
* gpg-error-config: Forward compatibility support.NIIBE Yutaka2018-09-051-0/+10
| | | | | | * src/gpg-error-config.in: Support --variable=* option. Signed-off-by: NIIBE Yutaka <[email protected]>
* gpg-error-config: Determine output at configure time.NIIBE Yutaka2018-09-042-19/+39
| | | | | | | | | | | | | | * src/gpg-error-config.in (isubdirafter): Remove. Also for --cflags and --libs. * configure.ac (GPG_ERROR_CONFIG_ISUBDIRAFTER): Remove. (GPG_ERROR_CONFIG_CFLAGS): Add -idirafter gpg-extra for W32CE. (GPG_ERROR_CONFIG_CFLAGS): Decide here if adding -I$includedir. (GPG_ERROR_CONFIG_LIBS): Decide here if adding -L$libdir. -- Don't do string substitution at the time of its command invocation, but let it determine at configure time.
* build: use EXEEXT_FOR_BUILD everywhere.Michael Haubenwallner2018-07-171-13/+13
| | | | | | | * src/Makefile.am: Use EXEEXT_FOR_BUILD with all build tools. Signed-off-by: Michael Haubenwallner <[email protected]>
* Post release updatesWerner Koch2018-07-124-4/+6
| | | | --
* Release 1.32libgpg-error-1.32Werner Koch2018-07-124-4/+14
| | | | Signed-off-by: Werner Koch <[email protected]>
* estream: Always propagate flush event to cookie functions.Werner Koch2018-07-121-3/+4
| | | | | | * src/estream.c (flush_stream): Always call cookie's flush func. Signed-off-by: Werner Koch <[email protected]>
* build: Use AX_CC_FOR_BUILD and EXEEXT.NIIBE Yutaka2018-07-114-172/+85
| | | | | | | | | | | | | | * configure.ac (AX_CC_FOR_BUILD): New. * doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD. * m4/ac_prog_cc_for_build.m4: Remove. * m4/ax_cc_for_build.m4: New. -- Suggested-by: Michael Haubenwallner <[email protected]> Fixes-commit: 6eb80abcde5ad776379069871e4156b28ef69712 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Now, yat2m is a standard tool.NIIBE Yutaka2018-07-112-9/+0
| | | | | | | | | | | | * configure.ac (YAT2M, HAVE_YAT2M): Remove. * doc/Makefile.am: Always use yat2m which comes with this source. -- Suggested-by: Michael Haubenwallner <[email protected]> Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Remove version_parts in autogen.sh.NIIBE Yutaka2018-07-102-16/+10
| | | | | | | | | | | | | * autogen.rc (version_parts): Remove. * autogen.sh: Determine by $micro argument. -- It can be determined by the invocation of ./autogen.sh --find-version Signed-off-by: NIIBE Yutaka <[email protected]>
* Remove leftover debug output from gpg-error.Werner Koch2018-07-053-4/+3
| | | | | | | | | * src/gpg-error.c (main): Remove a log_debug. -- Also a few typo fixes. Signed-off-by: Werner Koch <[email protected]>
* po: Update Ukrainian translation.Yuri Chornoivan2018-07-051-91/+34
|
* core: Initialize values in estream_formatAndre Heinecke2018-07-051-1/+5
| | | | | | | | | | | | | | * src/estream-printf.c (_gpgrt_estream_format): Make sure valuetable.value is inialized even on stack. -- This makes the behavior more consistent with the calloc'ed codepath for more then 8 variables. It also fixes a potential crash if there were unmatched format args provided. GnuPG-Bug-Id: T4054
* po: Update Russian translation.Ineiev2018-05-301-69/+33
|
* core: Fix problem with C11 and stdnoreturn.h.Werner Koch2018-05-301-3/+3
| | | | | | | | | * src/gpg-error.h.in (GPGRT_ATTR_NORETURN): Use gcc specific symbol name __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: Werner Koch <[email protected]>
* po: More Spanish translations.emma peel2018-05-291-83/+83
| | | | | | -- Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* doc: Fix yat2m name for native w32 buildAndre Heinecke2018-05-031-0/+5
| | | | | | | * doc/Makefile.am: Handle not cross compiling but building for windows. Signed-off-by: Andre Heinecke <[email protected]>
* Post release updatesWerner Koch2018-05-022-1/+5
| | | | --
* Release 1.31.libgpg-error-1.31Werner Koch2018-05-022-3/+7
| | | | * configure.ac: Set LT version to C24/A24/R2.
* po: Enable Spanish translationWerner Koch2018-05-011-0/+1
| | | | | | -- Signed-off-by: Werner Koch <[email protected]>
* core,w32: Avoid recursive use of npth_unprotect.Werner Koch2018-05-012-3/+15
| | | | | | | | | | | | | | | | | | | | * src/w32-estream.c (reader): Use standard free. (writer): Ditto. -- There are two errors: The minor one is that we allocated with calloc but released with _gpgrt_free. The major one is the recursive use of npth_unprotect due to the syscall_clamp mechanism: 1. Around the call to _gpgrt_w32_poll 2. By gpgrt_lock_lock on behalf of a the custom allocation handler in the worker threads at their _gpgrt_free. This problem was exhibited by GnuPG's dirmngr component. GnuPG-bug-id: 3937 Signed-off-by: Werner Koch <[email protected]>
* po: new Spanish translationemma peel2018-05-011-0/+1360
| | | | Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* Post release updatesWerner Koch2018-04-302-1/+5
| | | | --
* Release 1.30.libgpg-error-1.30Werner Koch2018-04-302-2/+6
| | | | | | * configure.ac: Bump LT version to C24/A/24/R1. Signed-off-by: Werner Koch <[email protected]>
* build: More release creation automation.Werner Koch2018-04-301-1/+59
| | | | | | * Makefile.am: Add release and sign-release targets. Signed-off-by: Werner Koch <[email protected]>
* core: Fix gpgrt_poll for Windows under nPth.Werner Koch2018-04-302-0/+4
| | | | | | * src/estream.c (_gpgrt_poll) [W32]: Use syscall clamp. Signed-off-by: Werner Koch <[email protected]>
* doc: Add SPDX indentifier for the versioninfo template.Werner Koch2018-04-231-0/+1
| | | | --
* doc: Fix yat2m build for cross compilation.NIIBE Yutaka2018-04-131-1/+1
| | | | | | | | | | * doc/Makefile.am: Fix target of yat2m-for-build. -- GnuPG-bug-id: 3901 Fixes-commit: efc4769339d42a4a399c040c146cf4a29c02ea4f Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Check -lsocket -lnsl for Solaris.NIIBE Yutaka2018-04-121-0/+14
| | | | | | | | | | | | | * configure.ac: Check inet_addr for -lnsl, and socket for -lsocket. -- Once I used LIB_SOCKET_NSL for the variable name, but it is already used by AX_LIB_SOCKET_NSL in autoconf-archive as an alias of the macro. So, I changed the variable name. GnuPG-bug-id: 3869 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Make sure version.texi is generated in time.Damien Goutte-Gattat via Gnupg-devel2018-04-111-1/+1
| | | | | | | | | | | | | | | [[PGP Signed Part:Good signature from AA4373E6C82C78AD Damien Goutte-Gattat <[email protected]> (trust undefined) created at 2018-04-11T17:05:27+0200 using RSA]] [1. text/plain] * doc/Makefile.am (yat2m-stamp): Depend on version.texi. -- When building from a cloned Git repository and with `make -j 3` (or higher), the version.texi file may not have been generated yet when yat2m is called to generate the man page, resulting in a build failure. Signed-off-by: Damien Goutte-Gattat <[email protected]>
* Post release updatesWerner Koch2018-04-112-1/+5
| | | | --
* Release 1.29libgpg-error-1.29gpgrt-1.29Werner Koch2018-04-113-10/+9
| | | | | | * configure.ac: Bump LT version to C24/A24/R0. Signed-off-by: Werner Koch <[email protected]>
* doc: Beautify comments in gpg-error.h.Werner Koch2018-04-111-74/+84
| | | | | | -- Signed-off-by: Werner Koch <[email protected]>
* core: Finalize the API for argparse.Werner Koch2018-04-112-161/+195
| | | | | | | | | | | | | | | | | | | | | | | | | * src/gpg-error.h.in (ARGPARSE_end): Simplify. * src/argparse.c (_gpgrt_argparse_internal_s): Add field opts. (deinitialize): Release new field. (initialize): Add arg opts and create a copy of the option list. Add the internal options. (_gpgrt_argparse): Rename arg opts to opts_orig and set new local var opts. Adjust all references to opts. (find_long_option): Adjust for chnaged type of OPTS. Re-indent. (arg_parse): Remove internal option assignment. Rename arg opts to opts_orig and set new local var opts. Adjust all references to opts. (show_help): Adjust all references to opts. -- The old ARGPARSE_end maro was a bit cumbersome and does not allow to chnage the number of internal options. Thus this somewhat larger chnage to keep the internal options out of the API. Note that with this change the internal options now also work in a option file and not just on the command line; that does not make much sense but is probably less surprising. Signed-off-by: Werner Koch <[email protected]>
* doc: Fix previous commit.NIIBE Yutaka2018-03-271-4/+4
| | | | | | | -- Fixes-commit: efc4769339d42a4a399c040c146cf4a29c02ea4f Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Support cross compilation for yat2m.NIIBE Yutaka2018-03-272-10/+22
| | | | | | | | | | | | * configure.ac (HAVE_YAT2M): New. * doc/Makefile.am [CROSS_COMPILING]: Supported. -- Makefile portability is also improved. Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Okay travis, take thisWerner Koch2018-03-221-2/+2
| | | | --
* build: Another try on travis.ymlWerner Koch2018-03-221-2/+3
| | | | | | -- Why don't they return useful error messages????
* build: And even more travis.yml tweakingWerner Koch2018-03-221-8/+5
| | | | --
* build: And more travis.yml tweakingWerner Koch2018-03-221-9/+7
| | | | --