summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorsf <sf@13f79535-47bb-0310-9956-ffa450edef68>2012-07-05 18:13:34 +0000
committersf <sf@13f79535-47bb-0310-9956-ffa450edef68>2012-07-05 18:13:34 +0000
commitb2bdbb61a9352fd57632ce8a82a8afc1bc6b7700 (patch)
tree54e1ec4c9b2629df988e20e945c423a7e7135700 /build.conf
parentc0e23e4413969580bac8bd905a498ef3938108a9 (diff)
downloadlibapr-b2bdbb61a9352fd57632ce8a82a8afc1bc6b7700.tar.gz
Add support for bcrypt encoded passwords.
The bcrypt implementation uses code from crypt_blowfish written by Solar Designer <solar openwall com>. The x86 assembler implementation is not used becaused it did not result in significant speed-up on my system. apr_bcrypt_encode creates hashes with "$2y$" prefix, but apr_password_validate also accepts the old prefix "$2a$". * crypto/crypt_blowfish.[ch]: Imported from crypt_blowfish 1.2. The only change compared to the upstream version is setting BF_ASM to 0. * crypto/apr_passwd.c: Add bcrypt support to apr_password_validate, add apr_bcrypt_encode * test/testpass.c: Add new tests, for bcrypt and the old schemes. * include/apr_md5.h: apr_password_validate() is left here fore backward compatibility and apr_bcrypt_encode() is added here as well. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357780 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.conf')
-rw-r--r--build.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.conf b/build.conf
index fc110e2eb..3c6ad6189 100644
--- a/build.conf
+++ b/build.conf
@@ -17,6 +17,7 @@ paths =
crypto/apr_sha1.c
crypto/getuuid.c
crypto/uuid.c
+ crypto/crypt_blowfish.c
dbm/apr_dbm_sdbm.c
dbm/apr_dbm.c
dbm/sdbm/*.c