Stefan Fritsch
92e366007c
Add lots of unique tags to error log messages
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 23:02:04 +00:00
Graham Leggett
45eb1cdd06
mod_session: Use apr_status_t as a return code across the mod_session API,
...
clarify where we ignore errors and why.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209603 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 17:47:05 +00:00
Graham Leggett
efcf8a984c
mod_session_crypto: Fix a pool lifetime problem when reading from
...
SessionCryptoPassphraseFile.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209461 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 13:23:21 +00:00
Stefan Fritsch
7ecccc1570
Remove some more now redundant log prefixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208816 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 21:51:51 +00:00
Graham Leggett
8f46969f8e
mod_session_crypto: Add a SessionCryptoPassphraseFile directive so that the
...
administrator can hide the keys from the configuration.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208517 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 16:56:50 +00:00
Graham Leggett
6e132242c3
Remove unused variables.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206338 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 21:43:08 +00:00
Graham Leggett
1211292e7f
Remove spurious parsing of the cipher parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188945 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 22:10:04 +00:00
Graham Leggett
848139b502
mod_session_crypto: Refactor to support the new apr_crypto API.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188900 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 20:45:40 +00:00
Stefan Fritsch
abb02e83c2
Fix build with recent apr_crypto API change
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1138611 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 20:16:43 +00:00
Graham Leggett
cc6b937c77
mod_session_crypto: Use the apr v2.0 crypto interface, which has been
...
backported to apr-util v1.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1126233 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 21:37:21 +00:00
Graham Leggett
b9474fdfeb
Remove the references to apr_crypto_t where apr_crypto_block_t is already
...
present.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103385 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 14:15:22 +00:00
Graham Leggett
e18345a584
Add API protection against the deprecated v1.4 apr_crypto API.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103351 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 12:44:25 +00:00
Graham Leggett
e155f87c68
Reorder the parameters as per the updated apr v2.0 apr_crypto API.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103337 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 12:24:22 +00:00
Graham Leggett
2a1e8f277b
Use namespace protection on mode and type constants.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103331 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 11:39:00 +00:00
Stefan Fritsch
385da96d50
Use ap_state_query() to fix many modules that were not correctly initializing
...
if they were not active during server startup but got enabled later during a
graceful restart (in which case they need to do all work during a single
config run).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070153 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 21:23:56 +00:00
Stefan Fritsch
1882214e86
break some very long lines, no code change
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1063016 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:12:24 +00:00
Guenter Knauf
2db74403c1
Fixed compile-time error message.
...
We test for APU, thus the error statement should tell same;
APR and APU are independent before APR 2.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037941 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 23:34:24 +00:00
Stefan Fritsch
ebb62867fb
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
...
advantage of per-module loglevels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
Rainer Jung
afd39cbd25
Work around crypto API incompatibilities.
...
The API in APR 2 is different from the API in APU 1.4/1.5.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951870 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 14:47:11 +00:00
Jeff Trawick
e6fc6d32b6
use separate #error message when APR[-Util] is of a valid
...
version but wasn't built with crypto support
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918562 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 16:44:57 +00:00
Graham Leggett
e76a453763
Correctly reference the apr_crypto_t context as a context and not a factory,
...
using the new name apr_crypto_make.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@890581 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 00:31:39 +00:00
Graham Leggett
9c0867de9d
mod_session_crypto: Sanity check should the potentially encrypted
...
session cookie be too short.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814334 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 16:04:13 +00:00
Graham Leggett
168b109007
mod_session_crypto: Ensure that SessionCryptoDriver can only be
...
set in the global scope.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731377 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 22:29:05 +00:00
Graham Leggett
7b58a40668
mod_session_crypto: Rewrite the session_crypto module against the
...
apr_crypto API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731088 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 21:09:47 +00:00
Graham Leggett
36500032fc
Insert prototypes to remove compiler warnings. [Joe Orton]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646126 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 23:12:12 +00:00
Paul Querna
a324a1d72f
Remove all references to CORE_PRIVATE.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 10:45:43 +00:00
Graham Leggett
f2125f46ec
mod_session_crypto: Initialise SSL in the post config hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645244 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 14:23:35 +00:00
Graham Leggett
8ef6e5e3d9
Fix the defaults, which currently override the config instead of default the config.
...
[Ruediger Pluem]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645243 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 14:05:27 +00:00
Graham Leggett
5550b95a90
Remove an unnecessary config structure lookup during encrypt and decrypt. [Ruediger Pluem]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645187 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 23:42:08 +00:00
Graham Leggett
10d47f14ff
Clarify the operation of the SessionCryptoPassphrase directive as raised by rpluem. When
...
SessionCryptoCertificateFile is set, asymmetrical encryption will be used, and SessionCryptoPassphrase
will be interpreted as the passphrase protecting the private key. When SessionCryptoCertificateFile
is not set, symmetrical encryption is used, and SessionCryptoPassphrase will contain the key to
use. Make sure that the engine parameter is properly passed into the crypto functions, and fix a
missing cleanup on an error case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645186 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 23:35:00 +00:00
Graham Leggett
97e4c9276c
mod_session_crypto: Add a session encoding implementation capable
...
of encrypting and decrypting sessions wherever they may be stored.
Introduces a level of privacy when sessions are stored on the
browser.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@644751 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 16:11:31 +00:00