summaryrefslogtreecommitdiff
path: root/passwd
Commit message (Collapse)AuthorAgeFilesLines
* Update the license, sans typo this time.jorton2006-08-031-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@428331 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* apr_password_get(): Fix the check for buffer overflow.trawick2004-11-301-4/+6
| | | | | | | | | | | The input buffer had already been cleared by the time the length of the input buffer was checked, so overflow was never reported. Add a comment about the length checking to the docs. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@107007 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.jorton2004-11-181-4/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* First whack at switching to a single top-level make. This adds a dependencygstein2004-02-051-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upon Python at packaging time, but not at end-user config/build time. As far as I can tell, the build continues to function properly. (out-of-dir config/make not tested, and apr-iconv prolly needs some work) The buildconf scripts now generate a build-outputs.mk file which is included by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk specifies all of the various files present in the distribution. The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports. The corresponding delete-* targets were eliminated since we have a precise set of inputs. The subdirs' Makefiles were removed since they are no longer called/used. The apr-util/uri Makefile was responsible for compiling a C program to generate the uri_delims.h file. That process was replaced by a Python script to generate the header (called by buildconf). The .c and .dsp were left for the Windows build to continue, but that should be revamped. build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of cleanup is still needed. Much of the recursive/local/x- logic is no longer needed and can be elimianated. rules.mk was created for inclusion by N makefiles, but that isn't really true any more, so it could probably be tossed (caveat: test/Makefile). Saved for a phase 2. Some additional work was added to properly clean up files in */build/, rather than relying on a makefile in there. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* Getpass on Solaris has an 8 character limit, which makes it less thanrbb2002-11-221-0/+4
| | | | | | | | | useful. By switching to getpassphrase, we get a 256 character limit. Submitted by: Florin Iucha <florin@iucha.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64057 13f79535-47bb-0310-9956-ffa450edef68
* Improve the getpass() situation on win32. Respect BS/DEL/left-arrowswrowe2002-09-141-15/+43
| | | | | | | and generally clean up this feature. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63868 13f79535-47bb-0310-9956-ffa450edef68
* MD5 is crypto. It belongs in crypto. And as far as I can tell, thiswrowe2002-07-172-731/+1
| | | | | | | didn't even cause any hassles. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63693 13f79535-47bb-0310-9956-ffa450edef68
* Define _getch() and use the same getpass() implementation as Win32bnicholes2002-07-151-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63683 13f79535-47bb-0310-9956-ffa450edef68
* Continue the Bill Rowe apr_size_t crusade.orlikowski2002-07-102-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
* renames for apr_xlate_sb_get, which was far more complicated.wrowe2002-06-081-1/+1
| | | | | | | | | | | | | It seems we are relying more and more on link entry points. We really can't be going about macroizing out NOTIMPL cases, since there is no way to later pick up the features when you replace with the same library built for support of a given feature, or swap it out later. So all platforms need to include unix/xlate.c with #define APR_HAS_XLATE 0 to at least gain the ENOTIMPL entry points. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63473 13f79535-47bb-0310-9956-ffa450edef68
* add another platform to a comment listing some platforms wheretrawick2002-05-101-2/+3
| | | | | | | crypt() is thread-safe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63386 13f79535-47bb-0310-9956-ffa450edef68
* Linux, AIX: Use crypt_r() instead of crypt() because the nativetrawick2002-05-101-0/+21
| | | | | | | | | crypt() is not thread-safe. The misuse of crypt() led to intermittent failures with Apache basic authentication when crypt passwords were being used. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63385 13f79535-47bb-0310-9956-ffa450edef68
* Add .deps to cvsignore since APR may now generate .deps files.jerenkrantz2002-04-221-0/+1
| | | | | | | (somehow CVS ignored updating these on the last commit.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresjerenkrantz2002-04-221-0/+2
| | | | | | | | | | | | srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-132-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* More safe header exclusions from Mladen Turk <mturk@mappingsoft.com>wrowe2002-02-121-0/+12
| | | | | | | for the WinCE port. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62968 13f79535-47bb-0310-9956-ffa450edef68
* apr md5 and apr xlate have different APIs w.r.t. the buffers theytrawick2001-11-191-6/+10
| | | | | | | | operate on, so fix it up at the interface between them to avoid unnecessary warnings git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62519 13f79535-47bb-0310-9956-ffa450edef68
* Added NETWARE to the #ifdef listbnicholes2001-08-061-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62103 13f79535-47bb-0310-9956-ffa450edef68
* Even user created buffer overflows are ugly (ever leave something leaningwrowe2001-06-101-8/+5
| | | | | | | on the keyboard :-?) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61745 13f79535-47bb-0310-9956-ffa450edef68
* I've managed to get three -1s off this (Jeff, Ryan, and myself).jerenkrantz2001-06-041-12/+0
| | | | | | | Revert the context null check. My bad. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61694 13f79535-47bb-0310-9956-ffa450edef68
* - adds some trivial error checking. Maybe someonejerenkrantz2001-06-041-3/+32
| | | | | | | | | | | | | | | | | | wants to complete this by adding the less trivial error checks? - adds a direct md5 computation function: apr_status_t apr_md5(unsigned char digest[MD5_DIGESTSIZE], const unsigned char *input, apr_size_t inputLen); This will return the md5 digest of the given input block. Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61693 13f79535-47bb-0310-9956-ffa450edef68
* Lurking out-of-date type.ben2001-06-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61691 13f79535-47bb-0310-9956-ffa450edef68
* Code reformat and APRization of types.jerenkrantz2001-06-021-156/+163
| | | | | | | | Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61690 13f79535-47bb-0310-9956-ffa450edef68
* Byte counts are apr_size_t, win32 declares a goofy ptrdiff_t thatwrowe2001-05-151-2/+2
| | | | | | | corresponds to a normal ssize_t. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61642 13f79535-47bb-0310-9956-ffa450edef68
* Clean up win32's own header bogositywrowe2001-04-121-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61509 13f79535-47bb-0310-9956-ffa450edef68
* Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, andwrowe2001-02-252-6/+6
| | | | | | | also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001fielding2001-02-162-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* Finally, protect from pure bogositywrowe2001-02-111-4/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61221 13f79535-47bb-0310-9956-ffa450edef68
* Still wasn't right. Always return the (partial/complete) passwordwrowe2001-02-111-5/+3
| | | | | | | | string, and use the apr_status_t as the -one and only- indicatator of success, partial success or failure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61220 13f79535-47bb-0310-9956-ffa450edef68
* Make that even simpler.wrowe2001-02-111-4/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61219 13f79535-47bb-0310-9956-ffa450edef68
* result(?) What result? Stop mauling the size_t arg and overwrite thewrowe2001-02-111-1/+2
| | | | | | | system buffer before returning from apr_password_get, and clean up doc. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61218 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakedougm2001-02-082-37/+37
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate some missing prototype warnings.fielding2001-01-281-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61145 13f79535-47bb-0310-9956-ffa450edef68
* Libtool-ize APR.gstein2001-01-092-25/+8
| | | | | | | | | | | | | | | | | To simplify the task, I also shifted the Makefiles to include a rules.mk (based on APRUTIL's with a few tweaks). Still needs some work to remove the INCLUDES setup in all the Makefiles (these can be shared). buildconf now does more work (and generates some output) aclocal.m4 is based on a number of M4 files, rather than standalone apr/test/ has been updated but is probably broken in a few ways. objs/ is now gone. we link directly from the .lo files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68
* These two patches for apr and apr-util fix compile warnings on Solaris fortrawick2000-12-221-1/+1
| | | | | | | | | | str* and mem* functions. This fixes all of them. APR_HAVE_STRINGS_H is now defined in apr.h. Submitted by: Dale Ghent <daleg@elemental.org> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60987 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup a group of apr compil warnings on Solarisrbb2000-12-211-0/+3
| | | | | | | Submitted by: Dale Ghent <daleg@elemental.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60978 13f79535-47bb-0310-9956-ffa450edef68
* Instead of a private AP_CHARSET_EBCDIC which is only defined ontrawick2000-12-202-6/+6
| | | | | | | | | | | an EBCDIC machine, define APR_CHARSET_EBCDIC to 0 or 1 for all the world to see and use it as appropriate in APR. I removed the TPF and BS2000 stuff. If configure doesn't work there they need to provide a custom apr.h anyway. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60972 13f79535-47bb-0310-9956-ffa450edef68
* Force all Apache functions to be linked into the executable, whether theyrbb2000-12-192-6/+6
| | | | | | | | | | | are used or not. This uses the same mechanism that is used for APR and APR-util. This may not be the correct solution, but it works, and that is what I really care about. This also renames CHARSET_EBCDIC to AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes the exports script a bit easier. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60970 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_private.h.in from the include directory to the arch/unixrbb2000-12-081-1/+2
| | | | | | | | | | | directory. This removes all temptation to include apr_private.h from outside of APR, because it just isn't available. This also highlighted a bunch of holes in our header file setup. Basically, just directories that were never migrated to the curret setup. Submitted by: Will Rowe and Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60919 13f79535-47bb-0310-9956-ffa450edef68
* If we're using the BeOS implementation of getpass we need stdio.h...dreid2000-12-021-0/+2
| | | | | | | | | | This should get this part building on BeOS again. Submitted by: Sam TH <sam@uchicago.edu> Reviewed by: David Reid <dreid@apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60843 13f79535-47bb-0310-9956-ffa450edef68
* This patch removes the dependencies from Makefile.in. Dependenciestrawick2000-11-151-35/+2
| | | | | | | | | | | | | | | | | will not be checked into CVS, as they are added to Makefile when the user runs "make depend." The exact mechanism for building dependencies is moved to a script called mkdep.sh in the APR helpers directory. Folks are free to make the mechanism more general (i.e., work on systems without gcc -MM), but for now it still requires gcc -MM. The patch also removes some commented out variable definitions and rules. BeOS- and OS/2-specific makefiles have not been updated. I'll post a patch to those or go ahead and commit them later, but David and Brian will get to test them. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60727 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of some out-of-date include directives.trawick2000-11-131-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60718 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolswrowe2000-10-162-8/+8
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...wrowe2000-08-061-14/+18
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_dougm2000-08-022-43/+43
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* Enable the passwd directory to be built by APR.rbb2000-07-242-0/+64
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60440 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_getpass.c and apr_md5.c from apr/lib to apr/passwd. The directoryrbb2000-07-242-0/+896
name is probably wrong, but at least this moves everything dealing with passwords to a common directory. If people hate the name, we can fix/change it later. We never actually came up with a name on the list, so rather than wait, I just moved things. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60438 13f79535-47bb-0310-9956-ffa450edef68