summaryrefslogtreecommitdiffstats
path: root/support/htdbm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* htdbm: Enable crypt support on platforms with crypt() but notJeff Trawick2007-04-091-6/+6
| | | | | | | | | | | | | | <crypt.h>, such as z/OS. We assume that the ancient code in htpasswd has it right -- all but Windows, TPF, and NetWare have crypt(). Submitted by: David Jones <oscaremma gmail.com> Reviewed by: wrowe, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@526892 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* If we don't have a prototype for crypt() we shouldn'tJeff Trawick2006-04-121-1/+1
| | | | | | | | | | | be calling it. Casting to the desired pointer return type hides the truncation of the return value when sizeof(ptr) > sizeof(int) and no prototype was included. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393365 13f79535-47bb-0310-9956-ffa450edef68
* The crypt() prototype is in <unistd.h> instead of <crypt.h>Jeff Trawick2006-04-121-0/+3
| | | | | | | | | | on HP-UX. We had no prototype for crypt() there. In 64-bit mode, a crash occurred because the pointer returned by crypt() was truncated before we passed the pointer to apr_cpystrn(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393364 13f79535-47bb-0310-9956-ffa450edef68
* htdbm: Warn the user when adding a plaintext password on a platformJeff Trawick2006-04-101-0/+4
| | | | | | | | where it wouldn't work with the server (i.e., anywhere that has crypt()). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@392944 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-25/+25
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* Fix htdbm password validation for records which included comments.Jeff Trawick2005-06-231-1/+1
| | | | | | | | | Submitted by: Eric Covener <covener gmail.com> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@201455 13f79535-47bb-0310-9956-ffa450edef68
* * support/htdbm.c (main): Fix (valid) variable "may be usedJoe Orton2005-06-141-1/+1
| | | | | | | uninitialized" warning with gcc 4.0. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190611 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/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL),Joe Orton2004-08-111-1/+1
| | | | | | | | | | | | | * server/log.c (ap_log_pid), * server/mpm/prefork/prefork.c (accept_mutex_on, accept_mutex_off), * support/htdbm.c (htdbm_list): Fix some non-literal format strings (warnings from gcc -Wformat-security). PR: 30585 Submitted by: Ulf Harnhammar (SITIC), Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104548 13f79535-47bb-0310-9956-ffa450edef68
* Use standardized names for ISO-8859-1, see ↵Martin Kraemer2004-06-291-1/+1
| | | | | | | | | http://www.iana.org/assignments/character-sets (Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104078 13f79535-47bb-0310-9956-ffa450edef68
* Add a terminate function that gets called on atexit() so that NetWare has ↵Bradley Nicholes2004-03-171-4/+10
| | | | | | | | | the chance to pause the screen to view the output before the screen is destroyed. Submitted by: Guenter Knauf <eflash@gmx.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103005 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-54/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* If we have a comment, place in a ':' not a ';' (has this *ever* worked?)Justin Erenkrantz2003-12-021-3/+10
| | | | | | | If -n is specified and we have a comment, print the comment out too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101946 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* Correct const'ness of argv in all support apps, and use the newWilliam A. Rowe Jr2002-04-131-3/+4
| | | | | | | | apr_app_initialize over apr_initialize for win32, and other platforms that may wish to tweak 'apr-ized' application support (e.g. Netware?) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94633 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
* one step closer to happiness on ebcdic boxesGreg Ames2002-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93482 13f79535-47bb-0310-9956-ffa450edef68
* clean up a bunch of warningsJeff Trawick2002-01-191-22/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92931 13f79535-47bb-0310-9956-ffa450edef68
* As long as the spelling police are on the prowl, I figured I might as wellCliff Woolley2002-01-181-5/+5
| | | | | | | pitch in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92898 13f79535-47bb-0310-9956-ffa450edef68
* allow htdbm to work with multiple DBM types by using a new optionIan Holsman2001-12-241-10/+20
| | | | | | | | | | '-T' ps.. why doesn't this program use apr_getopt?? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92591 13f79535-47bb-0310-9956-ffa450edef68
* Thanks for the catch, Mr. Woolley, I left an out-of-place close paren.William A. Rowe Jr2001-11-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91772 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate 'library'+'executable' cruft. Yes - this would be a dandyWilliam A. Rowe Jr2001-11-061-51/+42
| | | | | | | | | | library at some point in the future (perhaps 2.1?) but for this moment, simplify. Also simplify over-decorated apu_htdbm_ prefixes to simply htdbm_ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91768 13f79535-47bb-0310-9956-ffa450edef68
* Submitted by: Mladen Turk <mturk@mappingsoft.com>William A. Rowe Jr2001-11-061-0/+627
htdbm provides a compiled interface to dbm authentication databases, using the compiled-in dbm manager and auth schema. Resolves the hassles of grabbing the appropriate cpan package for md5 and fixing the dbm engine for dbmmanage.pl. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91767 13f79535-47bb-0310-9956-ffa450edef68