head 1.4; access; symbols pkgsrc-2013Q4:1.3.0.42 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.40 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.38 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.36 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.34 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.32 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.30 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.28 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.26 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.24 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.22 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.20 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.18 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.16 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.14 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.12 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.28 pkgsrc-2008Q1:1.2.0.26 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.24 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.22 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.20 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.18 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.16 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2; locks; strict; comment @# @; 1.4 date 2014.01.01.11.49.59; author wiz; state dead; branches; next 1.3; commitid A7mx1NrjLvjllpjx; 1.3 date 2008.10.14.11.33.13; author adam; state Exp; branches; next 1.2; 1.2 date 2005.03.10.15.38.33; author tv; state Exp; branches; next 1.1; 1.1 date 2005.01.18.13.11.38; author tv; state Exp; branches; next ; desc @@ 1.4 log @Update to 1.6.0: Noteworthy changes in version 1.6.0 (2013-12-16) ------------------------------------------------ * Removed the long deprecated gcry_ac interface. Thus Libgcrypt is not anymore ABI compatible to previous versions if they used the ac interface. * Removed the module register subsystem. * The deprecated message digest debug macros have been removed. Use gcry_md_debug instead. * Removed deprecated control codes. * Improved performance of most cipher algorithms as well as for the SHA family of hash functions. * Added support for the IDEA cipher algorithm. * Added support for the Salsa20 and reduced Salsa20/12 stream ciphers. * Added limited support for the GOST 28147-89 cipher algorithm. * Added support for the GOST R 34.11-94 and R 34.11-2012 (Stribog) hash algorithms. * Added a random number generator to directly use the system's RNG. Also added an interface to prefer the use of a specified RNG. * Added support for the SCRYPT algorithm. * Mitigated the Yarom/Falkner flush+reload side-channel attack on RSA secret keys. See [CVE-2013-4242]. * Added support for Deterministic DSA as per RFC-6969. * Added support for curve Ed25519. * Added a scatter gather hash convenience function. * Added several MPI amd SEXP helper functions. * Added support for negative numbers to gcry_mpi_print, gcry_mpi_aprint and gcry_mpi_scan. * The algorithm ids GCRY_PK_ECDSA and GCRY_PK_ECDH are now deprecated. Use GCRY_PK_ECC if you need an algorithm id. * Changed gcry_pk_genkey for "ecc" to only include the curve name and not the parameters. The flag "param" may be used to revert this. * Added a feature to globally disable selected hardware features. * Added debug helper functions. @ text @$NetBSD: patch-af,v 1.3 2008/10/14 11:33:13 adam Exp $ --- src/ath.c.orig 2008-09-03 12:04:42.000000000 +0200 +++ src/ath.c @@@@ -24,11 +24,6 @@@@ #include /* Right: We need to use assert and not gcry_assert. */ #include -#ifdef HAVE_SYS_SELECT_H -# include -#else -# include -#endif #include #ifndef _WIN32 #include @@@@ -309,7 +304,7 @@@@ ath_connect (int s, struct sockaddr *add int -#ifdef _WIN32 +#if defined(_WIN32) || defined(__INTERIX) ath_sendmsg (int s, const void *msg, int flags) #else ath_sendmsg (int s, const struct msghdr *msg, int flags) @@@@ -318,7 +313,7 @@@@ ath_sendmsg (int s, const struct msghdr if (ops_set && ops.sendmsg) return (*ops.sendmsg) (s, msg, flags); else -#ifdef _WIN32 +#if defined(_WIN32) || defined(__INTERIX) return -1; #else return sendmsg (s, msg, flags); @@@@ -327,7 +322,7 @@@@ ath_sendmsg (int s, const struct msghdr int -#ifdef _WIN32 +#if defined(_WIN32) || defined(__INTERIX) ath_recvmsg (int s, void *msg, int flags) #else ath_recvmsg (int s, struct msghdr *msg, int flags) @@@@ -336,7 +331,7 @@@@ ath_recvmsg (int s, struct msghdr *msg, if (ops_set && ops.recvmsg) return (*ops.recvmsg) (s, msg, flags); else -#ifdef _WIN32 +#if defined(_WIN32) || defined(__INTERIX) return -1; #else return recvmsg (s, msg, flags); @ 1.3 log @Changes 1.4.3: * Try to auto-initialize Libgcrypt to minimize the effect of applications not doing that correctly. This is not a perfect solution but given that many applicationion would totally fail without such a hack, we try to help at least with the most common cases. Folks, please read the manual to learn how to properly initialize Libgcrypt! * Auto-initialize the secure memory to 32k instead of aborting the process. * Log fatal errors via syslog. * Changed the name and the semantics of the fips mode config file. * Add convenience macro gcry_fips_mode_active. * More self-tests. * Documentation cleanups. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Make build on Interix, sharing some of the OS-specific oddities with _WIN32. @ text @d3 1 a3 1 --- src/ath.c.orig Sat Dec 18 13:31:53 2004 d7 1 a7 1 #include d17 1 a17 1 @@@@ -300,7 +295,7 @@@@ ath_connect (int s, struct sockaddr *add d26 1 a26 1 @@@@ -309,7 +304,7 @@@@ ath_sendmsg (int s, const struct msghdr d35 1 a35 1 @@@@ -318,7 +313,7 @@@@ ath_sendmsg (int s, const struct msghdr d44 1 a44 1 @@@@ -327,7 +322,7 @@@@ ath_recvmsg (int s, struct msghdr *msg, @ 1.1 log @It's not very useful to include in only one source file when other source files depend on fd_set being defined in a local header. (Required on Interix, which does not expose / automagically via other system headers as some OS's do by default.) @ text @d3 1 a3 1 --- src/ath.c.orig 2005-01-18 08:09:03.000000000 -0500 d17 36 @