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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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