Log

Author Commit Date CI Message
Guillem Jover f23a2145 2018-10-06T03:46:51 Add compatibility with Aladdin Enterprises MD5 implementation This will be guarded by a LIBMD_MD5_ALADDIN macro check, to avoid polluting the namespace by unsuspecting code. The macro can always be defined unconditionally, and the guard could even potentially be removed in the future if required. Prompted-by: Yangfl <mmyangfl@gmail.com> Ref: https://bugs.debian.org/909116
Guillem Jover cf9ac150 2018-10-06T04:33:02 test: Refactor and extend message digest testing Generate the base test function with a maro, because all of them follow the same pattern. And extend it by covering more of the API.
Guillem Jover b6b3402e 2018-10-06T04:30:59 Fix compatibility macros for SHA512 These have swapped names in their macro values.
Guillem Jover ff52516c 2018-10-06T04:30:11 Add missing compatibility macros for SHA384
Rainer Müller bf04c411 2017-09-29T17:02:33 build: Invoke sed with portable regex The previous sed expression only worked with GNU sed, as the '\+' literal is an extension to basic regex. Use portable syntax instead that also works with other implementations of sed(1), for example on macOS. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover c657abc1 2018-01-13T16:29:02 Release libmd 1.0.0
Guillem Jover 397964a1 2018-01-13T16:32:33 Remove unused NEWS file
Guillem Jover cc6881c6 2017-06-05T05:10:51 Remove unused __RCSID macro usage This is an obsolescent practice, just stop conditionally using this macro.
Guillem Jover 0def1829 2017-06-01T03:00:05 Stop using non-portable <sys/param.h> There are platforms without <sys/param.h>, so we better avoid the header altogether, and add the required MIN macro outselves. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover 04d92f90 2017-05-31T06:58:23 build: Do not override the default DEPENDENCIES for libmd Extend it instead via EXTRA_*_DEPENDENCIES, to make sure that we preserve the builtin library dependencies generated from LIBADD.
Guillem Jover 4c94d7fd 2017-05-31T06:55:35 build: Use an export symbols file if there is no version script support We generate the symbol list from the version script to avoid repeating ourselves and potentially getting the lists out-of-sync. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover b6be272e 2017-05-31T06:45:25 build: Detect version script linker support at configure time This is not a widely supported feature, so only use if in case the linker does support it. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Michael Haubenwallner 555d5074 2017-04-10T13:10:45 build: Switch to AC_C_BIGENDIAN defining WORD_BIGENDIAN We should use the autoconf macro instead of expecting the system to provide the endianness information, which many do not. [guillem@hadrons.org: - Use autoconf macro instead of gnulib one. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover c3c8d859 2017-06-01T02:43:22 build: Drop GCC specific compiler flag -include Instead, explicitly include <config.h> in library and test source files for increased portability. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Michael Haubenwallner 23637d72 2017-04-10T13:10:40 build: Stop checking for malloc() and memset() We do not provide alternatives for when memset() is missing, or when malloc() is not GNU-style malloc(), causing redirection to (undefined) rpl_malloc(). We do not rely on GNU-style malloc() at all, so there is no point in checking for it. [guillem@hadrons.org: - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner 765a605e 2017-04-10T13:10:39 build: Add -no-undefined libtool flag We have no need for undefined symbols, so we can let the shared library build even on systems without support for undefined symbols. [guillem@hadrons.org: - Place the option on its own line. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner bb131b2e 2017-04-10T13:10:38 Stop using non-portable <sys/cdefs.h> For portability, we should not rely on the __BEGIN_DECLS, __END_DECLS and __P to be predefined somewhere. For __P, we just remove its usage as we do not support pre-ANSI-C compilers. [guillem@hadrons.org: - Separate extern declarations with newlines. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover ed7d023e 2016-02-10T00:16:06 Release libmd 0.0.0
Guillem Jover 4eaf4a12 2011-10-23T19:20:26 Add compatibility with other BSDs
Guillem Jover 581c239f 2011-05-29T04:46:28 Remove __bounded__ GCC attribute This is a BSD specific extension to GCC, and as such not widely available elsewhere.
Guillem Jover 7a85a557 2016-02-09T10:17:55 Remove hidden dependencies from public headers Include <sys/types.h> in all public headers as they need them, so that programs do not need to add such header to be able to build.
Guillem Jover f1291e88 2011-05-29T04:46:46 build: Use <endian.h> when <sys/endian.h> is not available
Guillem Jover 18ebbe24 2012-05-29T05:44:54 Use stdint types instead of BSD u_int ones
Guillem Jover 79b3a0b7 2011-05-29T04:48:16 build: Add build infrastructure
Guillem Jover 7a257475 2014-07-19T16:49:55 build: Add weak_alias definition
Guillem Jover c5179609 2015-06-29T17:32:14 build: Define a dummy _DIAGASSERT
Guillem Jover 649209d4 2014-07-19T16:11:42 build: Use stdint
Guillem Jover 1878b975 2014-07-19T16:11:25 man: Add LIBRARY section
Guillem Jover ee0b2299 2011-05-29T03:22:21 Initial import from OpenBSD and NetBSD