summaryrefslogtreecommitdiff
path: root/passwd
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces in *.c.Ivan Zhakov2022-11-201-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
* Stage 3 in dismantling _WIN32_WCE ... cleanup codeMladen Turk2021-12-021-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895508 13f79535-47bb-0310-9956-ffa450edef68
* Whitespace. Sync with branches.Rainer Jung2013-10-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1528797 13f79535-47bb-0310-9956-ffa450edef68
* Disable getpass() for HP-UX platform (PR49496).Guenter Knauf2011-02-151-2/+6
| | | | | | | Reported by rajeshkc yahoo.com. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1070855 13f79535-47bb-0310-9956-ffa450edef68
* Restore getpassword == getpass_r hack for older Novell NDKs.William A. Rowe Jr2009-12-211-2/+6
| | | | | | partial revert of r892141 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892909 13f79535-47bb-0310-9956-ffa450edef68
* Restructure to ensure successful mingw compilation, stdio seems very ↵William A. Rowe Jr2009-12-181-40/+42
| | | | | | popular, too git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892159 13f79535-47bb-0310-9956-ffa450edef68
* added usage of threadsafe getpass_r();Guenter Knauf2008-06-061-3/+8
| | | | | | | enabled HAVE_GETPASS_R for NetWare platform. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@663941 13f79535-47bb-0310-9956-ffa450edef68
* de-tabified - no functional change.Guenter Knauf2008-06-061-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@663939 13f79535-47bb-0310-9956-ffa450edef68
* * Fix some gcc compiler warnings on SolarisRuediger Pluem2008-06-041-1/+1
| | | | | | | Patch to atomic/unix/solaris.c submitted by: Henry Jen <henryjen ztune.net> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@663342 13f79535-47bb-0310-9956-ffa450edef68
* * passwd/apr_getpass.c (get_password): Renamed from getpass()Joe Orton2006-10-251-5/+7
| | | | | | | | | | throughout to avoid any possible conflict with a system getpass() implementation which is not being used. (apr_password_get): Use get_password if not getpass() or getpassphrase(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@467596 13f79535-47bb-0310-9956-ffa450edef68
* * passwd/apr_getpass.c: Disable getpass() support if PASS_MAX isJoe Orton2006-10-101-0/+6
| | | | | | | | | defined and "small". PR: 40256 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@454774 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.Joe Orton2006-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-031-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* apr_password_get(): Fix the check for buffer overflow.Jeff 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: https://svn.apache.org/repos/asf/apr/apr/trunk@107007 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.Joe Orton2004-11-181-4/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0Justin Erenkrantz2004-02-131-49/+10
| | | | git-svn-id: https://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 dependencyGreg Stein2004-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: https://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.Thom May2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: https://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 thanRyan Bloom2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@64057 13f79535-47bb-0310-9956-ffa450edef68
* Improve the getpass() situation on win32. Respect BS/DEL/left-arrowsWilliam A. Rowe Jr2002-09-141-15/+43
| | | | | | | and generally clean up this feature. git-svn-id: https://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, thisWilliam A. Rowe Jr2002-07-172-731/+1
| | | | | | | didn't even cause any hassles. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63693 13f79535-47bb-0310-9956-ffa450edef68
* Define _getch() and use the same getpass() implementation as Win32Bradley Nicholes2002-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63683 13f79535-47bb-0310-9956-ffa450edef68
* Continue the Bill Rowe apr_size_t crusade.Victor J. Orlikowski2002-07-102-2/+2
| | | | git-svn-id: https://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.William A. Rowe Jr2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@63473 13f79535-47bb-0310-9956-ffa450edef68
* add another platform to a comment listing some platforms whereJeff Trawick2002-05-101-2/+3
| | | | | | | crypt() is thread-safe git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63386 13f79535-47bb-0310-9956-ffa450edef68
* Linux, AIX: Use crypt_r() instead of crypt() because the nativeJeff Trawick2002-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: https://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.Justin Erenkrantz2002-04-221-0/+1
| | | | | | | (somehow CVS ignored updating these on the last commit.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresJustin Erenkrantz2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-132-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* More safe header exclusions from Mladen Turk <mturk@mappingsoft.com>William A. Rowe Jr2002-02-121-0/+12
| | | | | | | for the WinCE port. git-svn-id: https://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 theyJeff Trawick2001-11-191-6/+10
| | | | | | | | operate on, so fix it up at the interface between them to avoid unnecessary warnings git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62519 13f79535-47bb-0310-9956-ffa450edef68
* Added NETWARE to the #ifdef listBradley Nicholes2001-08-061-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62103 13f79535-47bb-0310-9956-ffa450edef68
* Even user created buffer overflows are ugly (ever leave something leaningWilliam A. Rowe Jr2001-06-101-8/+5
| | | | | | | on the keyboard :-?) git-svn-id: https://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).Justin Erenkrantz2001-06-041-12/+0
| | | | | | | Revert the context null check. My bad. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61694 13f79535-47bb-0310-9956-ffa450edef68
* - adds some trivial error checking. Maybe someoneJustin Erenkrantz2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61693 13f79535-47bb-0310-9956-ffa450edef68
* Lurking out-of-date type.Ben Laurie2001-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61691 13f79535-47bb-0310-9956-ffa450edef68
* Code reformat and APRization of types.Justin Erenkrantz2001-06-021-156/+163
| | | | | | | | Submitted by: Sander Striker <striker@samba-tng.org> Reviewed by: Justin Erenkrantz git-svn-id: https://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 thatWilliam A. Rowe Jr2001-05-151-2/+2
| | | | | | | corresponds to a normal ssize_t. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61642 13f79535-47bb-0310-9956-ffa450edef68
* Clean up win32's own header bogosityWilliam A. Rowe Jr2001-04-121-0/+2
| | | | git-svn-id: https://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, andWilliam A. Rowe Jr2001-02-252-6/+6
| | | | | | | also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-162-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* Finally, protect from pure bogosityWilliam A. Rowe Jr2001-02-111-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61221 13f79535-47bb-0310-9956-ffa450edef68
* Still wasn't right. Always return the (partial/complete) passwordWilliam A. Rowe Jr2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61220 13f79535-47bb-0310-9956-ffa450edef68
* Make that even simpler.William A. Rowe Jr2001-02-111-4/+1
| | | | git-svn-id: https://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 theWilliam A. Rowe Jr2001-02-111-1/+2
| | | | | | | system buffer before returning from apr_password_get, and clean up doc. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61218 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-082-37/+37
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate some missing prototype warnings.Roy T. Fielding2001-01-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61145 13f79535-47bb-0310-9956-ffa450edef68
* Libtool-ize APR.Greg Stein2001-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: https://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 forJeff Trawick2000-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: https://svn.apache.org/repos/asf/apr/apr/trunk@60987 13f79535-47bb-0310-9956-ffa450edef68