strongswan/src/libstrongswan/plugins/af_alg
Baruch Siach 0727c8a533 af-alg: Fix crypt() definition conflict
Rename the crypt() method to avoid conflict with POSIX crypt(). Fixes the
following build failure with musl libc:

In file included from ../../../../src/libstrongswan/utils/utils.h:53:0,
                 from ../../../../src/libstrongswan/library.h:101,
                 from af_alg_ops.h:24,
                 from af_alg_ops.c:16:
af_alg_ops.c:110:22: error: conflicting types for 'crypt'
 METHOD(af_alg_ops_t, crypt, bool,
                      ^
../../../../src/libstrongswan/utils/utils/object.h:99:13: note: in definition of macro 'METHOD'
  static ret name(union {iface *_public; this;} \
             ^
In file included from af_alg_ops.c:18:0:
.../host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:144:7: note: previous declaration of 'crypt' was here
 char *crypt(const char *, const char *);
       ^

Closes strongswan/strongswan#72.
2017-05-15 16:33:21 +02:00
..
Makefile.am plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
af_alg_crypter.c Check and forward syscall errors in AF_ALG 2012-07-16 14:55:07 +02:00
af_alg_crypter.h Add features support to af_alg plugin 2011-10-14 10:05:45 +02:00
af_alg_hasher.c Use standard unsigned integer types 2016-03-24 18:52:48 +01:00
af_alg_hasher.h Add features support to af_alg plugin 2011-10-14 10:05:45 +02:00
af_alg_ops.c af-alg: Fix crypt() definition conflict 2017-05-15 16:33:21 +02:00
af_alg_ops.h Use standard unsigned integer types 2016-03-24 18:52:48 +01:00
af_alg_plugin.c af-alg: Silently skip probing algorithms if AF_ALG is not supported 2016-05-19 11:13:24 +02:00
af_alg_plugin.h Added plugin stub for AF_ALG 2010-12-20 09:52:02 +01:00
af_alg_prf.c Use standard unsigned integer types 2016-03-24 18:52:48 +01:00
af_alg_prf.h Add features support to af_alg plugin 2011-10-14 10:05:45 +02:00
af_alg_signer.c Use standard unsigned integer types 2016-03-24 18:52:48 +01:00
af_alg_signer.h af-alg: fix number of signers after adding untruncated HMAC-SHA-512 (1f2a34d6) 2013-05-15 17:20:36 +02:00