summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/nss/nss_sha512crypt.c
Commit message (Collapse)AuthorAgeFilesLines
* CRYPTO: Use unprefixed version of function stpncpyLukas Slebodnik2014-05-181-2/+2
| | | | | | | | | | | | | | | | glibc contains two versions of finction stpncpy sh-4.2$ nm --dynamic --defined-only /lib64/libc.so.6 | grep stpncpy 0000003ce1c89b00 i stpncpy 0000003ce1c89b00 i __stpncpy 0000003ce1d040a0 T __stpncpy_chk We should use more portable version of stpncpy without prefix with underscores. The function __stpncpy was used in initial veersion e65c65fc710fa030bfb8319efc43fcdc9ce5a26f, which was based on http://people.redhat.com/drepper/SHA-crypt.txt Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* UTIL: Create new wraper header file sss_endian.hLukas Slebodnik2013-08-281-1/+1
| | | | | | Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.
* Set _GNU_SOURCE globallySumit Bose2011-05-231-1/+2
|
* Move crypto functions into its own subdirJakub Hrozek2010-09-081-0/+386
A refactoring patch that creates a common util/crypto subdir with per-implementation subdirectories for each underlying crypto library supported by SSSD.