summaryrefslogtreecommitdiffstats
path: root/modules/aaa/mod_auth_digest.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up namespace badness with s/configfile_t/ap_configfile_t/William A. Rowe Jr2001-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88312 13f79535-47bb-0310-9956-ffa450edef68
* clean up a call to apr_psprintf() (trailing NULL not needed)Jeff Trawick2001-02-221-1/+1
| | | | | | | | | previously: mod_auth_digest.c: In function `set_shmem_size': mod_auth_digest.c:625: warning: too many arguments for format git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88275 13f79535-47bb-0310-9956-ffa450edef68
* rename miss: s/apr_clear_pool/apr_pool_clear/gDoug MacEachern2001-02-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88232 13f79535-47bb-0310-9956-ffa450edef68
* *) Introduce "ap_conf_vector_t" type to assist with legibility and provideGreg Stein2001-02-181-0/+5
| | | | | | | | | | | | some type safety. (unfortunately, our old "void*" is type-safe with the new one, but over time we should be better) *) Propagate the new type to all appropriate functions. *) Random cleaning, whitespace, stylistic nits. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88225 13f79535-47bb-0310-9956-ffa450edef68
* Rename the module structures so that the exported symbol matchesMartin Kraemer2001-02-161-9/+9
| | | | | | | | | | | | the file name, and it is easier to automate the installation process (generating LoadModule directives from the module filenames). Next step is to remove the 4th argument to the APACHE_MODULE macro completely and require people to use the matching names, and to reduce the LoadModule directive to 1 argument.... Objections? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88189 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* doh. need a spellchekker for these rename scripts. ↵Doug MacEachern2001-02-141-3/+3
| | | | | | s/apr_lock_aquire/apr_lock_acquire/g; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88150 13f79535-47bb-0310-9956-ffa450edef68
* clean up more warnings and link problems after the header fileJeff Trawick2001-02-111-1/+2
| | | | | | | shuffle git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88075 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some of the includes:Greg Stein2001-02-101-1/+0
| | | | | | | | | | - explicitly include apr_lib.h since ap_config.h doesn't - use apr_want.h where possible - use APR_HAVE_ where possible - remove some unneeded includes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060 13f79535-47bb-0310-9956-ffa450edef68
* Make a mod_auth_digest build fail in a less mysterious way on systemsJeff Trawick2001-02-081-1/+4
| | | | | | | without APR random number support (e.g., a stock Tru64 system). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88023 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-081-29/+29
| | | | | | | | | | | 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/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
* The big change. This is part 3 of the apr-util symbols rename, pleaseWilliam A. Rowe Jr2001-01-191-23/+23
| | | | | | | | see the first commit of srclib/apr-util/include (cvs apr-util/include) for the quick glance at symbols changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
* Provide apr_pool_t arg to register_hooks, since anything they do in thatWilliam A. Rowe Jr2001-01-171-1/+1
| | | | | | | | step -must- be done with a pool that will not outlive the cmd pool, from which they may have been dynamically loaded. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697 13f79535-47bb-0310-9956-ffa450edef68
* use the apr_status_t instead of errnoJeff Trawick2001-01-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87629 13f79535-47bb-0310-9956-ffa450edef68
* adjust remaining modules to use the new handler hook method (Alan Edwards)Doug MacEachern2001-01-091-1/+0
| | | | | | | | | | | bring back the old handler prototype by reusing r->handler (dougm) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87617 13f79535-47bb-0310-9956-ffa450edef68
* Get all of the auth modules to the point that they will install andRyan Bloom2000-12-191-9/+9
| | | | | | | | | be loadable into the server. Our new build/install mechanism expects that all modules will have a common name format. The auth modules didn't use that format, so we didn't install them properly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87422 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup some warnings in mod_auth_digest.cRyan Bloom2000-10-311-22/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86774 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolsWilliam A. Rowe Jr2000-10-161-2/+2
| | | | | | | | | | 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: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86609 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...William A. Rowe Jr2000-08-061-14/+14
| | | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86008 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-132/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* Remove all of the ap_is* functions from Apache. They were already in APR,Ryan Bloom2000-07-261-1/+1
| | | | | | | | and we all hate duplicate code. :-) This also required adding ap_isascii to APR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85897 13f79535-47bb-0310-9956-ffa450edef68
* Missing apr_strings.h - hope this wasn't destined for some global header.William A. Rowe Jr2000-07-251-1/+2
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85877 13f79535-47bb-0310-9956-ffa450edef68
* blast the old names for the status codesGreg Stein2000-06-241-23/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85686 13f79535-47bb-0310-9956-ffa450edef68
* Remove all occurances of strerror from Apache. ap_strerror works justRyan Bloom2000-06-091-1/+2
| | | | | | | | fine with standard errno values, and it is more portable. This also allows me to remove the check for strerror from Apache's configure script. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85486 13f79535-47bb-0310-9956-ffa450edef68
* don't include apr_shmem.h when APR_HAS_SHARED_MEMORY is false, but instead ↵Ronald Tschalar2000-06-011-1/+37
| | | | | | set up our own dummies git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85364 13f79535-47bb-0310-9956-ffa450edef68
* Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-relatedRonald Tschalar2000-05-291-246/+393
| | | | | | | | bugs, and changed shmem/locking to use apr API. Shared-mem is currently disabled, however, because of problems with graceful restarts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85341 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-05-281-2/+2
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT names for linkage (API_, CORE_, and MODULE_). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85318 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch corrects the issues from the AP_EXPORT and linkage specification arguments to the ap_hooks.h declarations. As with the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR, and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR. I will be happy to revert the inclusion of ap_config.h from httpd.h if this bothers anyone. More individual modules need to be patched if we do so. The API_EXPORTs all moved into central storage in the ap_config.h header. Without WIN32 or API_STATIC compile time declarations, these macros remain no-ops. This patch also moves the following data from http_main to http_config: const char *ap_server_argv0; const char *ap_server_root; ap_array_header_t *ap_server_pre_read_config; ap_array_header_t *ap_server_post_read_config; ap_array_header_t *ap_server_config_defines; And the following variables had already moved into ap_hooks.c: ap_pool_t *g_pHookPool; (initialized now in http_config) int g_bDebugHooks; (out of http_config) const char *g_szCurrentHookName; (out of http_config) The changes to http_main.c are in preparation for that module to move out to a seperate .exe for win32. Other platforms will be unaffected, outside of these changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-04-291-1/+1
| | | | | | | | | | | | | | | | | Obtained from: Submitted by: William Rowe Reviewed by: Created ap_base64.h to extract those declarations for clarity from ap.h CORE_PRIVATE, httpd.h do not belong in library functions, removed from ap.lib Use apr headers for declarations in ap.lib stuff, kill AP_LONG from ap_sha1.h Move credit to lib/apr/lib/ap_snprintf.c from ap.h for authorship git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85097 13f79535-47bb-0310-9956-ffa450edef68
* add AP_ prefix to *HOOK* macrosDoug MacEachern2000-04-261-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85045 13f79535-47bb-0310-9956-ffa450edef68
* Some Windows tweaks from William Rowe...Bill Stoddard2000-04-251-0/+1
| | | | | | | Submitted by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85034 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Get mod_auth_digest compiling and added to the WindowsBill Stoddard2000-04-221-1/+3
| | | | | | | | build environment. Not tested and I'd be suprised if it actually works. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85012 13f79535-47bb-0310-9956-ffa450edef68
* Here's my first stab at getting mod_auth_digest working under 2.0Bill Stoddard2000-04-151-133/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quick change summary: - moved the random byte generation into APR This patch adds ap_generate_random_bytes() - now uses ap_time_t - compiles and runs on linux - tested with amaya still to do: - test win32 (This will have to be someone with a windows box :-) I think I did everything correctly. APR_HAS_RANDOM should be defined on windows and there is a lib/apr/misc/win32/rand.c which is basically a copy of what mod_auth_digest used to use. - error handling cleanup Since there is not currently a usable ap_strerror it is commented out. win32 error handling is virtually non-existant. I just don't know enough about win32 to touch this stuff. Brian Submitted by: Brian Martin Reviewed by: Bill Stoddard (very quick review, moving in right direction) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84975 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesRyan Bloom2000-04-141-8/+8
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1Roy T. Fielding2000-03-311-33/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84879 13f79535-47bb-0310-9956-ffa450edef68
* more post-old-style Configure cleanupdgaudet2000-03-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84747 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:Ryan Bloom2000-03-101-9/+9
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
* This is a huge change to the configure system. Basically, this name spaceRyan Bloom2000-01-191-1/+0
| | | | | | | | | | | protects most, if not all, of the Apache macros. This has been tested on Linux using all of the Unix MPM's. The biggest push was that Apache's httpd.h header file can no longer include the ap_config.h file. Most of the other files include this themselves now. Submitted by: Ryan Bloom and Manoj Kasichainula git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84492 13f79535-47bb-0310-9956-ffa450edef68
* Finish the conversion from fprintf(stderr -> ap_log_err.Ryan Bloom1999-11-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84135 13f79535-47bb-0310-9956-ffa450edef68
* First cut at port to apache-2.0. Simple tests are working.Ronald Tschalar1999-11-041-64/+114
| | | | | | | | | Error handling is still not quite clear in some cases (especially in conjunction with ap_pcfg_openfile), and random-number generation still needs to be moved into APR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84098 13f79535-47bb-0310-9956-ffa450edef68
* I am not claiming that the modules work now, but at least the parameter listsMartin Kraemer1999-10-221-27/+28
| | | | | | | | are prepared for the updated ap_log_rerror() format. BTW: What is APLOG_NOERROR for now that we have an explicit error code? This is still WIP! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84023 13f79535-47bb-0310-9956-ffa450edef68
* Apache 1.3.9 baseline for the Apache 2.0 repository.Roy T. Fielding1999-08-241-0/+1919
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9 Submitted by: Apache Group git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83751 13f79535-47bb-0310-9956-ffa450edef68