| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Untested, testers welcome
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1363076 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unitialized fields.
Use apr_pcalloc instead of apr_palloc when allocating the dbd
structure so that all fields are initialized.
Submitted by: TROY.LIU 劉春偉 <TROY.LIU deltaww.com.cn>
Reviewed by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362892 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Use uniques bases. The current one were in collision with dbd drivers
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362255 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Use different base. This one was from odbc driver
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362252 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Some compilers don't allow empty structure declarations
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362248 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Noted by Jason Ovich <jasonovich mailfish de>
PR: 53410
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362241 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
sha512-crypt with custom rounds= prefix needs 115 bytes plus length of the
number of rounds string to store the resulting hash. An usable buffer size of
119 limited this to 9999 rounds.
Use 200 to allow for future hash algorithms with longer string lengths (e.g.
due to longer salt).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1361811 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Suggested by Stefan Fritsch.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1358480 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1358295 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357979 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357968 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357966 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357957 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357772 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1357761 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
sh warning when testing these variables if modular-dso is disabled.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1346865 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
work (better).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1346860 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
specific
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1343243 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using AI_ADDRCONFIG involves some unfortunate guesswork because it does not
consider loopback addresses when trying to determine if IPv4 or IPv6 is
configured (RFC 3493).
This is a problem if one actually wants to listen on or connect to the loopback
address of a protocol family that is not otherwise configured on the system.
Also, some implementations (glibc, cough) behave strangely if no other
addresses besides 127.0.0.1 and ::1 are configured.
A real fix would enhance apr_sockaddr_info_get's interface to allow the caller
to specify if he wants to use the address for listen() or connect(), and if he
wants to make the result dependant on the presence of non-loopback addresses.
Then apr_sockaddr_info_get could pass the right combination of AI_ADDRCONFIG
and AI_PASSIVE to getaddrinfo().
As a workaround, retry getaddrinfo() without AI_ADDRCONFIG in case of
EAI_ADDRFAMILY. This solves the most common problems but not all corner cases.
PR: 52709
Submitted by: Nirgal Vourgère <jmv_deb nirgal com>, Stefan Fritsch
Many thanks also to Aurelien Jarno for helping to debug this.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1343233 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
AI_ADDRCONFIG and not all flags.
When the retry logic was added in r64571, this was equivalent because not
other flags were set. But this has changed since then.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1341196 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
This allows gcc's -D_FORTIFY_SOURCE=2 to do some overflow checks
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1341193 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1340470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Pino Toscano <pino debian org>, Stefan Fritsch
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1340288 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Don't fail if a formerly missing directory has been created by another process
in the meantime.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1340286 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1333282 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1333274 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1333202 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
to PQescapeStringConn
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1327636 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1325955 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
IPC message queue. Create a configure test for that combo and test it
elsewhere.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1325944 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
double code
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1309379 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1309376 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1309344 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1309336 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
is supposed to be 4 not 1 byte.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1309332 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308950 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308938 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
found an aio.h header file. add a test for the intended platform too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308923 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
no support for apr_pollcb yet.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308910 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308329 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
initialisation of each crypto driver works when the first driver
isn't in use.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308318 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
compiled library is initialised for the first time.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308131 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
built statically.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308127 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
has already been loaded. Fix ported from apr_dbd.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308087 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
in .c/.h. WIN64 wasn't defined, resulting in crashes in
httpd.
PR: 49155
Submitted by: <anindyabaruah gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1295535 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1240472 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1237507 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Patch by Hiroaki KAWAI <kawai at apache.org>.
PR: 52521.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1237208 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Fix naming of a static function.
Randomise final hash produced by any hash function, using default hash
function and seed.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1237078 13f79535-47bb-0310-9956-ffa450edef68
|