X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=2bc45fc6a42203fe830f97b531f3b6dbc510a392;hb=8e0f64e4cd12f7779113bc438afd106dad3e1f1a;hp=976c624c4ceac904bd446423275afb04c83ea8cc;hpb=6fea8a94379432b41d19aa2e9701de0af4db244d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 976c624c4..2bc45fc6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,139 @@ +2013-12-02 Pádraig Brady + + md5, sha1, sha256, sha512: use openssl routines if available. + --with-openssl the libcrypto md5, sha1, sha224, sha256, sha384, sha256 + routines will be used if available, requiring apps to link @LIB_CRYPTO@ + * lib/gl_openssl.h: Provide wrappers for specified openssl hash. + * m4/gl-openssl.m4 (gl_CRYPTO_CHECK): New function to lookup libcrypto + in the standard system location. + * m4/sha1.m4: Call gl_CRYPTO_CHECK() for SHA1. + * m4/sha256.m4: Likewise with SHA256. + * m4/sha512.m4: Likewise with SHA512. + * m4/md5.m4: Likewise with MD5. + * m4/gc.m4: Ensure @LIB_CRYPTO@ set for tests. + * lib/sha1.h: Include wrappers if HAVE_OPENSSL_SHA1. + * lib/sha256.h: Likewise with SHA256. + * lib/sha512.h: Likewise with SHA512. + * lib/md5.h: Likewise with MD5. + * lib/sha1.c: Exlude functionality if HAVE_OPENSSL_SHA1. + * lib/sha256.c: Likewise with SHA256. + * lib/sha512.c: Likewise with SHA512. + * lib/md5.c: Likewise with MD5. + * modules/crypto/sha1 (Link:): Add the new optional lib. + (Depends-on:): Add dependency on extern-inline. + * modules/crypto/sha256: Likewise. + * modules/crypto/sha512: Likewise. + * modules/crypto/md5: Likewise. + * modules/crypto/sha1-tests: Reference the lib here too. + * modules/crypto/md5-tests: Likewise. + * modules/crypto/gc-des-tests: Likewise. + * modules/crypto/gc-hmac-md5-tests: Likewise. + * modules/crypto/gc-hmac-sha1-tests: Likewise. + * modules/crypto/gc-hmac-sha256-tests: Likewise. + * modules/crypto/gc-hmac-sha512-tests: Likewise. + * modules/crypto/gc-md5-tests: Likewise. + * modules/crypto/gc-pbkdf2-sha1-tests: Likewise. + * modules/crypto/gc-sha1-tests: Likewise. + * modules/crypto/gc-tests: Likewise. + * modules/crypto/hmac-md5-tests: Likewise. + * modules/crypto/hmac-sha1-tests: Likewise. + * modules/crypto/hmac-sha256-tests: Likewise. + * modules/crypto/hmac-sha512-tests: Likewise. + +2013-11-29 RV1971 + + base64: (trivial) fix compilation regression on some compilers + * lib/base64.c: Don't return the void function, + instead split to a separate return statement. + +2013-11-28 Paul Eggert + + ignore-value: revert previous code change + * lib/ignore-value.h (ignore_value): Use __extension__ and + __typeof__ only for GCC 3.4 and later. Reported by Eric Blake in + . + Change the comment to try to explain this better. + +2013-11-27 Pádraig Brady + + selinux-h: improve stub types and add more stub functions + + * lib/se-selinux.in.h: Change security_context_t to a typedef + rather than a define, as it's a pointer type and so is better + as a typedef to avoid issues declaring multiple variables + with the comma operator. Also add stub for string_to_security_class(). + * lib/se-context.in.h: Add stub functions for + context_{type,range,role,user}_get(). + +2013-11-27 Paul Eggert + + ignore-value: prefer GCC version back through 2.0 + The code didn't match the comments, so I did a bit of software + archaeology. GCC 2.0 seems to support __extension__ and + __typeof__, so fix both code and comments to use 2.0. + * lib/ignore-value.h (ignore_value): Use __extension__ and + __typeof__ for GCC 2.0 through 3.3, too. + +2013-11-25 Mats Erik Andersson + + pty: Activate the signature wrapper of forkpty. + The intended preprocessor macro HAVE_FORKPTY is + never defined, yet `lib/forkpty.c' depends on it. + + * m4/pty.m4 (gl_FUNC_FORKPTY): At completed analysis, + apply AC_DEFINE_UNQUOTED to HAVE_FORKPTY with value + $HAVE_FORKPTY for access to wrapper in `lib/forkpty.c'. + +2013-11-18 Jim Meyering + and Paul Eggert + + quotearg: don't attempt to store 1 << 31 into an "int" + * lib/quotearg.c (quotearg_buffer_restyled): Building coreutils with + gcc's new -fsanitize=undefined and running its tests triggered some + new test failures due to undefined behavior, all with this diagnostic: + lib/quotearg.c:629:62: runtime error: left shift of 1 by 31 places \ + cannot be represented in type int + Rather than shifting "1" left to form a mask, shift the bits right and + simply use "1" as the mask. + +2013-11-21 Paul Eggert + + error: depend on stdio + Problem reported by Nikos Mavrogiannopoulos in + + * modules/error (Depends-on): Add stdio. + +2013-11-18 Ben Pfaff + + * doc/relocatable-maint.texi (Supporting Relocation): Improve + wording. + Reported by Reuben Thomas . + +2013-11-13 Paul Eggert + + * lib/getgroups.c (posix_getgroups, getgroups) [__APPLE__]: + New function and macro, to work around _DARWIN_C_SOURCE problem. + Reported by Jack Howarth in . + +2013-11-11 Pádraig Brady + + base64: provide a fast path for encoding well sized buffers + Avoid conditionals in the base64 encoding loop, + which was seen to give 60% better throughput. + * lib/base64.c (base64_encode_fast): A new function to be called + when we don't want to NUL terminate, and we have enough space + in the output to encode the given input. + (base64_encode): Call the _fast() version when appropriate. + Also remove a redundant mask with 0x3F on the first encoded byte. + +2013-11-08 Paul Eggert + + extern-inline: port better to OS X 10.9 + * m4/extern-inline.m4: Omit serial number; this file doesn't use them. + (gl_EXTERN_INLINE): Do not suppress the use of extern inline on + OS X 10.9, except for g++ where the bug is still present. + See . + 2013-11-08 Eric Blake fpending: fix regression on DragonFly BSD