summaryrefslogtreecommitdiff
path: root/server/util/nss_sha512crypt.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05Added option to use libcrypto instead of NSS.George McCollister1-4/+0
crypto_sha512crypt.c is a clone of nss_sha512crypt.c with the exception that all usage of NSS and related libraries has been switched to libcrypto. I renamed nss_sha512crypt.h to sha512crypt.h since it is common to both crypto_sha512crypt.c and nss_sha512crypt.c. Note that the random number generator is not seeded manually and thus relies on seeding done automatically by libcrypto. On some systems without /dev/urandom seeding may not be performed. See http://www.openssl.org/docs/crypto/RAND_add.html. Signed-off-by: George McCollister <georgem@novatech-llc.com>
2009-05-18Fix crypt functions to not use static buffers.Simo Sorce1-2/+3
Also fix style, clarify, and simplify some logic.
2009-03-02first version of LOCAL pam backendSumit Bose1-0/+3