summaryrefslogtreecommitdiff
path: root/passwd/apr_getpass.c
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace. Sync with branches.rjung2013-10-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1528797 13f79535-47bb-0310-9956-ffa450edef68
* Disable getpass() for HP-UX platform (PR49496).fuankg2011-02-151-2/+6
| | | | | | | Reported by rajeshkc yahoo.com. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1070855 13f79535-47bb-0310-9956-ffa450edef68
* Restore getpassword == getpass_r hack for older Novell NDKs.wrowe2009-12-211-2/+6
| | | | | | partial revert of r892141 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@892909 13f79535-47bb-0310-9956-ffa450edef68
* Restructure to ensure successful mingw compilation, stdio seems very ↵wrowe2009-12-181-40/+42
| | | | | | popular, too git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@892159 13f79535-47bb-0310-9956-ffa450edef68
* added usage of threadsafe getpass_r();fuankg2008-06-061-3/+8
| | | | | | | enabled HAVE_GETPASS_R for NetWare platform. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@663941 13f79535-47bb-0310-9956-ffa450edef68
* de-tabified - no functional change.fuankg2008-06-061-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@663939 13f79535-47bb-0310-9956-ffa450edef68
* * Fix some gcc compiler warnings on Solarisrpluem2008-06-041-1/+1
| | | | | | | Patch to atomic/unix/solaris.c submitted by: Henry Jen <henryjen ztune.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@663342 13f79535-47bb-0310-9956-ffa450edef68
* * passwd/apr_getpass.c (get_password): Renamed from getpass()jorton2006-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: http://svn.apache.org/repos/asf/apr/apr/trunk@467596 13f79535-47bb-0310-9956-ffa450edef68
* * passwd/apr_getpass.c: Disable getpass() support if PASS_MAX isjorton2006-10-101-0/+6
| | | | | | | | | defined and "small". PR: 40256 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@454774 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.jorton2006-08-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.jorton2006-08-031-6/+6
| | | | git-svn-id: http://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.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
* 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
* 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
* 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-101-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-131-1/+1
| | | | 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
* 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
* 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-251-3/+3
| | | | | | | 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-161-1/+1
| | | | 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-081-2/+2
| | | | | | | | | | | 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
* 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-201-3/+3
| | | | | | | | | | | 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-191-3/+3
| | | | | | | | | | | 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
* 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
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolswrowe2000-10-161-1/+1
| | | | | | | | | | 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
* prefix libapr functions and types with apr_dougm2000-08-021-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_getpass.c and apr_md5.c from apr/lib to apr/passwd. The directoryrbb2000-07-241-0/+220
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