]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
22 years ago Addendum to r1.21... I missed the fact that we blew away the init
William A. Rowe Jr [Thu, 27 Mar 2003 23:51:22 +0000 (23:51 +0000)] 
  Addendum to r1.21... I missed the fact that we blew away the init
  complete state too early in ssl_init_Module().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@99096 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Fix a serious bug where the 'next' generation of the server would open
William A. Rowe Jr [Thu, 27 Mar 2003 23:34:06 +0000 (23:34 +0000)] 
  Fix a serious bug where the 'next' generation of the server would open
  a brand new mutex.  This patch creates a single mutex in the first config
  phase that survives for the life of the server (server->process->pool).

  Now one server generation to the next will respect the same mutex between
  one another, while the previous generation is still mopping up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@99095 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Allow any mutex to accept a 'filename' ... and always root it to the
William A. Rowe Jr [Thu, 27 Mar 2003 23:32:42 +0000 (23:32 +0000)] 
  Allow any mutex to accept a 'filename' ... and always root it to the
  server root unless we are using posixsem, which can't handle big paths.
  This reorganization should make the code much more readable because
  all of the common code is at the beginning and end of the function,
  simplifing the long conditional test case block.

  This patch allows SSLMutex default:logs/ssl_mutex syntax.  It also
  removes the mod_ssl historical '.pid' suffixes - that isn't how Apache2
  specifies files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@99094 13f79535-47bb-0310-9956-ffa450edef68

22 years agohelps to actually use it
Jim Jagielski [Wed, 26 Mar 2003 22:31:56 +0000 (22:31 +0000)] 
helps to actually use it

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@99069 13f79535-47bb-0310-9956-ffa450edef68

22 years agoOpenSSL should be included as "openssl/ssl.h" and not "ssl.h" (and rely on the
Madhusudan Mathihalli [Fri, 14 Mar 2003 02:20:50 +0000 (02:20 +0000)] 
OpenSSL should be included as "openssl/ssl.h" and not "ssl.h" (and rely on the
INCLUDE path to be defined properly)

PR: 11310
Submitted by: Geoff Thrope <geoff@geoffthrope.net>
Reviewed by: Madhusudan Mathihalli

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@99008 13f79535-47bb-0310-9956-ffa450edef68

22 years agoReplace the APACHE_CHECK_SSL_TOOLKIT method with a cleaner one, using
Madhusudan Mathihalli [Thu, 13 Mar 2003 20:36:39 +0000 (20:36 +0000)] 
Replace the APACHE_CHECK_SSL_TOOLKIT method with a cleaner one, using
autoconf tools (AC_CHECK_HEADER, AC_CHECK_LIB etc).

Submitted by: Geoff Thorpe <geoff@geoffthorpe.net>
Reviewed by: Madhu, Justin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98999 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix PR 17864, and also fixes a SEGV problem when SHMHT was used.
Madhusudan Mathihalli [Wed, 12 Mar 2003 06:26:22 +0000 (06:26 +0000)] 
Fix PR 17864, and also fixes a SEGV problem when SHMHT was used.
The porting of the code from mod_ssl 1.3.x was still incomplete, and depended
upon a complete implentation of apr_shm (hence pieces of code was #if 0'ed out).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98990 13f79535-47bb-0310-9956-ffa450edef68

22 years ago After discussions at length on dev@apr/httpd, it is determined that
William A. Rowe Jr [Tue, 11 Mar 2003 00:58:59 +0000 (00:58 +0000)] 
  After discussions at length on dev@apr/httpd, it is determined that
  the older .dbg format symbols are not worth the interference with
  generating complete .pdb symbolic debugging databases.

  This patch further eliminates pdbtype:sept flags that interfere with
  deciphering local symbols and type information.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98970 13f79535-47bb-0310-9956-ffa450edef68

22 years ago DougM confirms Madhu's suspicions, this change was inadvertent.
William A. Rowe Jr [Thu, 6 Mar 2003 08:43:39 +0000 (08:43 +0000)] 
  DougM confirms Madhu's suspicions, this change was inadvertent.
  Reverting to no longer skip the first cert in the chain.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98896 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRight now SSLMutex is bogus. It just uses APR_LOCK_DEFAULT no
Jim Jagielski [Sun, 23 Feb 2003 17:12:43 +0000 (17:12 +0000)] 
Right now SSLMutex is bogus. It just uses APR_LOCK_DEFAULT no
matter what. We now allow for the full range of APR mutex
locking mechanims to be used, while maintaining backwards
compatibility.

PR: 8122
Obtained from:
Submitted by:
Reviewed by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98771 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix a 64-bit porting issue.
Madhusudan Mathihalli [Fri, 21 Feb 2003 20:12:24 +0000 (20:12 +0000)] 
Fix a 64-bit porting issue.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98747 13f79535-47bb-0310-9956-ffa450edef68

22 years ago After consultations on the APR list, it was decided that /map files are
William A. Rowe Jr [Thu, 20 Feb 2003 15:56:04 +0000 (15:56 +0000)] 
  After consultations on the APR list, it was decided that /map files are
  fairly redundant when you retain rich .pdb debugging symbol files.  We
  have rarely used them, and generally .dbg and .pdb files prove much more
  useful for the cases we have.

  While eliminating /map files, we are also shrinking the size of the .dbg
  files by stripping 'private' symbol information.  Really this means less
  rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg
  symbols in creating a DrWatson log file.  But it's more than compensated
  for on newer OS'es where Dr. Watson will query the .pdb symbols, on all
  Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that
  the distribution of binary symbols will use less bandwidth when less
  information is duplicated from the .pdb format into the .dbg files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98743 13f79535-47bb-0310-9956-ffa450edef68

22 years ago foo.dbgmark turned out to be the same 8.3 name as foo.dbg itself, which
William A. Rowe Jr [Tue, 18 Feb 2003 22:07:21 +0000 (22:07 +0000)] 
  foo.dbgmark turned out to be the same 8.3 name as foo.dbg itself, which
  was badness.  Twist this puppy to .dbr, the only name I could invent that
  doesn't look like any database file extension I recall.

  It stands for .dbg rebased.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98712 13f79535-47bb-0310-9956-ffa450edef68

22 years ago *) Introduce debugging symbols for Win32 release builds, both .pdb
William A. Rowe Jr [Fri, 7 Feb 2003 21:30:53 +0000 (21:30 +0000)] 
  *) Introduce debugging symbols for Win32 release builds, both .pdb
     and .dbg files (older debuggers and Dr. Watson-type utilities
     on WinNT or Win9x don't support the newer .pdb flavor.)
     [Allen Edwards, William Rowe]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98596 13f79535-47bb-0310-9956-ffa450edef68

22 years agofinished that boring job:
AndrĂ© Malo [Mon, 3 Feb 2003 17:53:28 +0000 (17:53 +0000)] 
finished that boring job:
update license to 2003.

Happy New Year! ;-))

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98573 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Omitted the commit log message from the last commit, sorry;
William A. Rowe Jr [Tue, 21 Jan 2003 19:19:36 +0000 (19:19 +0000)] 
  Omitted the commit log message from the last commit, sorry;

  Fix a nasty segfault, that there's a stack buffer we are trying to free!
  Revert this 'memory leak' patch from the 1.79 rev.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98430 13f79535-47bb-0310-9956-ffa450edef68

22 years ago*** empty log message ***
William A. Rowe Jr [Tue, 21 Jan 2003 19:19:01 +0000 (19:19 +0000)] 
*** empty log message ***

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98429 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Catch up with the changes to apr/build/win32ver.awk and name all loadable
William A. Rowe Jr [Mon, 20 Jan 2003 19:52:30 +0000 (19:52 +0000)] 
  Catch up with the changes to apr/build/win32ver.awk and name all loadable
  httpd modules as .so, internally.  Credit to Mladen Turk for identifing
  the issue.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98380 13f79535-47bb-0310-9956-ffa450edef68

22 years ago After introducing tests in the cmds, we lose the absolute authority
William A. Rowe Jr [Mon, 13 Jan 2003 17:10:42 +0000 (17:10 +0000)] 
  After introducing tests in the cmds, we lose the absolute authority
  of the CRYPTO_malloc_init() which must happen the moment we load the
  module and prior to *any* ssl library fn invocation.

  Moved the CRYPTO_malloc_init() into the ssl_register_hooks() function,
  the absolute first call made into any loaded module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98252 13f79535-47bb-0310-9956-ffa450edef68

22 years ago All we care about is the type and name, just ask for the type and name.
William A. Rowe Jr [Mon, 23 Dec 2002 09:09:21 +0000 (09:09 +0000)] 
  All we care about is the type and name, just ask for the type and name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@98090 13f79535-47bb-0310-9956-ffa450edef68

22 years ago After some productive feedback and no negative feedback, introduce
William A. Rowe Jr [Sat, 14 Dec 2002 07:46:45 +0000 (07:46 +0000)] 
  After some productive feedback and no negative feedback, introduce
  SSLEngine upgrade so that we can begin and continue to support these
  facilities.  This makes it simpler to keep this effort (while we have
  no known clients that support Connection: upgrade at this time), and
  begin refactoring more of SSL into smaller and tighter (and then optional)
  components.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97913 13f79535-47bb-0310-9956-ffa450edef68

22 years ago After some productive feedback and no negative feedback, introduce
William A. Rowe Jr [Sat, 14 Dec 2002 07:46:45 +0000 (07:46 +0000)] 
  After some productive feedback and no negative feedback, introduce
  SSLEngine upgrade so that we can begin and continue to support these
  facilities.  This makes it simpler to keep this effort (while we have
  no known clients that support Connection: upgrade at this time), and
  begin refactoring more of SSL into smaller and tighter (and then optional)
  components.

  Submitted by: Ryan Bloom
  Reviewed by: William Rowe, Joe Orton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97912 13f79535-47bb-0310-9956-ffa450edef68

22 years ago2.0 -> 2.1
Wilfredo Sanchez [Sun, 8 Dec 2002 21:05:57 +0000 (21:05 +0000)] 
2.0 -> 2.1

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97800 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix some possibly-uninitialized variables.
Cliff Woolley [Sat, 23 Nov 2002 21:19:03 +0000 (21:19 +0000)] 
Fix some possibly-uninitialized variables.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97617 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRearrange OpenSSL engine initialization to support RAND
Jeff Trawick [Mon, 11 Nov 2002 13:16:17 +0000 (13:16 +0000)] 
Rearrange OpenSSL engine initialization to support RAND
redirection on crypto accelerator.

Submitted by:     Frederic DONNAT <frederic.donnat@zencod.com>
Reviewed by:   Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97482 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Turn DOWN the volume of these errors... they are low enough level notes
William A. Rowe Jr [Thu, 7 Nov 2002 06:26:48 +0000 (06:26 +0000)] 
  Turn DOWN the volume of these errors... they are low enough level notes
  to land at loglevel INFO

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97439 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Per Justin's feedback, this still needed a little work to get the
William A. Rowe Jr [Wed, 6 Nov 2002 07:44:11 +0000 (07:44 +0000)] 
  Per Justin's feedback, this still needed a little work to get the
  four cases (block/nonblock read/nodata) straight.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97424 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Rule one of winsock and other one-offs (even unix EINTR) ... blocking
William A. Rowe Jr [Wed, 6 Nov 2002 07:29:36 +0000 (07:29 +0000)] 
  Rule one of winsock and other one-offs (even unix EINTR) ... blocking
  isn't necessarily blocking.  Should not have changed this in the prior
  commit, and adding the same retry to the -1/EAGAIN|EINTR case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97423 13f79535-47bb-0310-9956-ffa450edef68

22 years ago errno? EINTR? what planet was this code on :-? Normalize the
William A. Rowe Jr [Wed, 6 Nov 2002 07:21:47 +0000 (07:21 +0000)] 
  errno?  EINTR?  what planet was this code on :-?  Normalize the
  ssl_io_filter_connect code to follow the filter read and write.
  Notice that it's buck ugly, but we will extract an rc first from
  the input BIO if it was written, and then try the output bio if
  it was APR_SUCCESS, during _connect processing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97422 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Merge the last of the 'filtering' functions into ssl_engine_io.c, merge
William A. Rowe Jr [Tue, 5 Nov 2002 20:47:01 +0000 (20:47 +0000)] 
  Merge the last of the 'filtering' functions into ssl_engine_io.c, merge
  ssl_abort into what was ssl_hook_CloseConnection, clean out a bunch of
  now-static or private headers from mod_ssl.h, and final fix a very small
  but potent segfault if ->pssl is destroyed within our read loop.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97411 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Actually, the APR_ECONNABORTED (EOS-only brigade) is the direction we
William A. Rowe Jr [Tue, 5 Nov 2002 06:38:41 +0000 (06:38 +0000)] 
  Actually, the APR_ECONNABORTED (EOS-only brigade) is the direction we
  are contemplating for the next release, not the prior behavior
  (which was APR_SUCCESS for c->aborted.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97401 13f79535-47bb-0310-9956-ffa450edef68

22 years ago With a last little bit of help from Justin, this should cause the
William A. Rowe Jr [Tue, 5 Nov 2002 03:38:14 +0000 (03:38 +0000)] 
  With a last little bit of help from Justin, this should cause the
  appropriate amount of tumolt and turmoil if our client has 'gone away'
  on us, sparing us of further processing (and potential 'renegotiations'
  with a non-existant client.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97400 13f79535-47bb-0310-9956-ffa450edef68

22 years ago At least one doc I've seen says EOF+bytes is valid. This was a typo.
William A. Rowe Jr [Tue, 5 Nov 2002 03:16:33 +0000 (03:16 +0000)] 
  At least one doc I've seen says EOF+bytes is valid.  This was a typo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97399 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Appears we forgot to check the possibility of errors coming from the
William A. Rowe Jr [Mon, 4 Nov 2002 19:41:52 +0000 (19:41 +0000)] 
  Appears we forgot to check the possibility of errors coming from the
  write brigade passed down from the content generator through the body
  and protocol filters.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97397 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Rename the many flavors of filter_ctx (pRec, fctx etc) to filter_ctx,
William A. Rowe Jr [Mon, 4 Nov 2002 17:39:56 +0000 (17:39 +0000)] 
  Rename the many flavors of filter_ctx (pRec, fctx etc) to filter_ctx,
  wbio to bio_out, BIO new and free to create and destroy (to match OpenSSL),
  refactor the bio write code to stash errors in outctx->rc,
  fix the blocking read at EOF if we have some data to return,
  and preempt the nonblock read on GETLINE if we have the newline already.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97393 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd some waypoints to understanding this code
Justin Erenkrantz [Fri, 1 Nov 2002 10:37:06 +0000 (10:37 +0000)] 
Add some waypoints to understanding this code

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97374 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd some commentary on how we *think* the input filtering should be working
Justin Erenkrantz [Fri, 1 Nov 2002 10:19:56 +0000 (10:19 +0000)] 
Add some commentary on how we *think* the input filtering should be working
in mod_ssl.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97373 13f79535-47bb-0310-9956-ffa450edef68

22 years agoI don't see how *len > wanted, but leave the check there.
Justin Erenkrantz [Fri, 1 Nov 2002 09:42:09 +0000 (09:42 +0000)] 
I don't see how *len > wanted, but leave the check there.

Stick a comment in there as a 'Waldo was here' so that if I ever see this
again, I realize that I've actually thought about it and didn't think >
was necessary.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97372 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Clean up the read pattern for cases when some data already exists.
William A. Rowe Jr [Fri, 1 Nov 2002 09:29:06 +0000 (09:29 +0000)] 
  Clean up the read pattern for cases when some data already exists.
  Also return APR_SUCCESS once we've gathered any decrypted bytes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97371 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Distinguish inctx, outctx, frec [and b ??? looked like bucket to me!!!]
William A. Rowe Jr [Fri, 1 Nov 2002 08:58:38 +0000 (08:58 +0000)] 
  Distinguish inctx, outctx, frec [and b ??? looked like bucket to me!!!]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97370 13f79535-47bb-0310-9956-ffa450edef68

22 years ago More nits spotted by Justin, and catch all the errors except SYSCALL
William A. Rowe Jr [Fri, 1 Nov 2002 08:48:35 +0000 (08:48 +0000)] 
  More nits spotted by Justin, and catch all the errors except SYSCALL
  in the SSL logging section.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97369 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Suggestions by Justin, implemention by Will. Rename away all bogisity,
William A. Rowe Jr [Fri, 1 Nov 2002 08:39:59 +0000 (08:39 +0000)] 
  Suggestions by Justin, implemention by Will.  Rename away all bogisity,
  especially eliminating all of 'our' capitalized identifiers that were
  easily confused with library symbols; go with APR_STATUS_IS_EOF() just
  in case there is a platform result; fix a bogus *len = 0; reassignment
  and fold the two flavors of input context tracking into one.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97368 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Completely refactor the BIO-side client input handling for the SSL library.
William A. Rowe Jr [Fri, 1 Nov 2002 08:35:19 +0000 (08:35 +0000)] 
  Completely refactor the BIO-side client input handling for the SSL library.
  Should eliminate many false spurious interrupt detected errors.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97367 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Fix memory leak in mod_ssl from internal SSL library allocations
William A. Rowe Jr [Tue, 29 Oct 2002 21:12:34 +0000 (21:12 +0000)] 
  Fix memory leak in mod_ssl from internal SSL library allocations
  within SSL_get_peer_certificate and X509_get_pubkey.

Submitted by: Zvi Har'El <rl@math.technion.ac.il>
Reviewed by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97344 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Close several small leaks in SSL.
William A. Rowe Jr [Tue, 29 Oct 2002 03:52:22 +0000 (03:52 +0000)] 
  Close several small leaks in SSL.

Submitted by: Zvi Har'El <rl@math.technion.ac.il>
Reviewed by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97340 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Outch. No freeing consts. Fortunately, the fn's return code isn't const.
William A. Rowe Jr [Sun, 27 Oct 2002 03:43:03 +0000 (03:43 +0000)] 
  Outch.  No freeing consts.  Fortunately, the fn's return code isn't const.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97315 13f79535-47bb-0310-9956-ffa450edef68

22 years agofix the interface to PEM_read_bio_X509() with OpenSSL versions older than 0.9.4.
Jeff Trawick [Fri, 25 Oct 2002 22:03:52 +0000 (22:03 +0000)] 
fix the interface to PEM_read_bio_X509() with OpenSSL versions older than 0.9.4.

Submitted by: Madhu Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97308 13f79535-47bb-0310-9956-ffa450edef68

22 years agomod_ssl uses free() inappropriately in several places, to free
Jeff Trawick [Fri, 25 Oct 2002 21:44:28 +0000 (21:44 +0000)] 
mod_ssl uses free() inappropriately in several places, to free
memory which has been previously allocated inside OpenSSL.
Such memory should be freed with OPENSSL_free(), not with free().

Submitted by: Nadav Har'El <nyh@math.technion.ac.il>,
              Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by:  Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97307 13f79535-47bb-0310-9956-ffa450edef68

22 years agostylistic improvements
Jeff Trawick [Fri, 25 Oct 2002 01:17:00 +0000 (01:17 +0000)] 
stylistic improvements

Submitted by:   Madhu Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97298 13f79535-47bb-0310-9956-ffa450edef68

22 years ago2 silly bugs. First of all, make the code match the error log
Jim Jagielski [Tue, 22 Oct 2002 23:18:14 +0000 (23:18 +0000)] 
2 silly bugs. First of all, make the code match the error log
(and allow 8192 to be valid). Secondly, this missplaced else
made the size part (8192) non-optional for shm:
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97281 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUgg. We need to use '%pp' not '%p' since ap_log_error uses apr_vsnprint(),
Jim Jagielski [Thu, 17 Oct 2002 13:25:08 +0000 (13:25 +0000)] 
Ugg. We need to use '%pp' not '%p' since ap_log_error uses apr_vsnprint(),
which has the overloaded '%p' format (not ANSI).

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97252 13f79535-47bb-0310-9956-ffa450edef68

22 years agoThis stuff shouldn't have been committed. This is the SSL upgrade stuff,
Ryan Bloom [Mon, 14 Oct 2002 04:15:58 +0000 (04:15 +0000)] 
This stuff shouldn't have been committed.  This is the SSL upgrade stuff,
and it was included in a commit that shouldn't have touched these files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97201 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix a compile of compiler warnings. I don't know how these slipped past.
Ryan Bloom [Fri, 11 Oct 2002 15:29:22 +0000 (15:29 +0000)] 
Fix a compile of compiler warnings.  I don't know how these slipped past.
Also, uncomment a line of code that the last commit should have uncommented.
Randall found this line and the fix, but I forgot to uncomment this line
along with the fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97179 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix a mutex problem in mod_ssl session cache support which
Jeff Trawick [Tue, 1 Oct 2002 17:54:15 +0000 (17:54 +0000)] 
Fix a mutex problem in mod_ssl session cache support which
could lead to an infinite loop.

PR:                     12705
Diagnosis submitted by: amund.elstad@ergo.no (Amund Elstad)
Coded by:               Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97048 13f79535-47bb-0310-9956-ffa450edef68

22 years agoback out the stuff from mod_ssl that shouldn't have been committed.
Ryan Bloom [Mon, 30 Sep 2002 23:45:58 +0000 (23:45 +0000)] 
back out the stuff from mod_ssl that shouldn't have been committed.

/me wonders why we have generated content in CVS.    :-(

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97039 13f79535-47bb-0310-9956-ffa450edef68

22 years agoCall out the success cases when we don't get APR_SUCCESS back from the
Ryan Bloom [Mon, 30 Sep 2002 23:43:18 +0000 (23:43 +0000)] 
Call out the success cases when we don't get APR_SUCCESS back from the
network write.  All other status codes result in c->aborted being set,
which allows the logs to note that the connection was aborted.  Previous
to this patch, if the network cable was unplugged on the client, the server
would get APR_ETIMEUP, but we wouldn't note that the connection was
aborted.

Submitted by: Ryan Morgan <rmorgan@covalent.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97038 13f79535-47bb-0310-9956-ffa450edef68

22 years agoBack out some changes that should't have been committed.
Ryan Bloom [Sat, 28 Sep 2002 06:13:11 +0000 (06:13 +0000)] 
Back out some changes that should't have been committed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97002 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAllow the UserDir directive to accept a list of directories.
Ryan Bloom [Sat, 28 Sep 2002 06:10:47 +0000 (06:10 +0000)] 
Allow the UserDir directive to accept a list of directories.
This matches what Apache 1.3 does.  Also add documentation for
this feature.

PR: 9299
Submitted by: Jay Ball <jay@veggiespam.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97001 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRemove warnings seen with Sun's Forte compiler.
Justin Erenkrantz [Sun, 15 Sep 2002 00:00:48 +0000 (00:00 +0000)] 
Remove warnings seen with Sun's Forte compiler.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96818 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Small fixes for SSLC
William A. Rowe Jr [Wed, 21 Aug 2002 19:12:46 +0000 (19:12 +0000)] 
  Small fixes for SSLC

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96477 13f79535-47bb-0310-9956-ffa450edef68

23 years agofix a typo in the last commit
Jeff Trawick [Wed, 31 Jul 2002 19:13:38 +0000 (19:13 +0000)] 
fix a typo in the last commit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96262 13f79535-47bb-0310-9956-ffa450edef68

23 years agoignore some generated files on OS/390
Jeff Trawick [Wed, 31 Jul 2002 19:09:31 +0000 (19:09 +0000)] 
ignore some generated files on OS/390

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96261 13f79535-47bb-0310-9956-ffa450edef68

23 years agouse APR_SIZE_T_FMT for formatting apr_size_t
Jeff Trawick [Wed, 17 Jul 2002 15:06:17 +0000 (15:06 +0000)] 
use APR_SIZE_T_FMT for formatting apr_size_t

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96098 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Changes for deprecated apr_is_fnmatch
William A. Rowe Jr [Mon, 8 Jul 2002 17:43:34 +0000 (17:43 +0000)] 
  Changes for deprecated apr_is_fnmatch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95976 13f79535-47bb-0310-9956-ffa450edef68

23 years agoGet the perchild MPM starting different child processes with different
Ryan Bloom [Sun, 30 Jun 2002 21:59:50 +0000 (21:59 +0000)] 
Get the perchild MPM starting different child processes with different
users and groups.  It doesn't pass requests between child processes yet.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95918 13f79535-47bb-0310-9956-ffa450edef68

23 years agoAdd a filter_init function to the filters so that a filter can execute
Justin Erenkrantz [Fri, 28 Jun 2002 08:40:25 +0000 (08:40 +0000)] 
Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.

This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course).  When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.

If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.

PR: 9673
Reviewed by: Ryan Bloom and others

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95906 13f79535-47bb-0310-9956-ffa450edef68

23 years agoreword an error message
Jeff Trawick [Fri, 21 Jun 2002 14:30:23 +0000 (14:30 +0000)] 
reword an error message

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95835 13f79535-47bb-0310-9956-ffa450edef68

23 years ago These emits occur mainline, outside of the pphrase_callback, so we never
William A. Rowe Jr [Mon, 17 Jun 2002 19:39:19 +0000 (19:39 +0000)] 
  These emits occur mainline, outside of the pphrase_callback, so we never
  opened readtty or writetty.  But they are absolute failures, nothing the
  user could do to deal with them.  They are logged in the ssl vhost's error
  log.

  In this case, I forgot my SSLCertificateKeyFile, so the server never
  tried the callback.  writetty wasn't initialized, so we segfaulted.

  This segfault is due to misconfig, not to the dialog with the user.
  This is the easiest fix (easier to read, too), but we shouldn't need
  to worry too much that the release is tagged.  If we retag, fine, then
  grab it, but it only addresses a config problem.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95734 13f79535-47bb-0310-9956-ffa450edef68

23 years agofix the infinite recursion problem with HTTP-on-the-HTTPS port.
Cliff Woolley [Tue, 11 Jun 2002 04:54:01 +0000 (04:54 +0000)] 
fix the infinite recursion problem with HTTP-on-the-HTTPS port.

Reported by:  Paul J. Reder
Submitted by: Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95604 13f79535-47bb-0310-9956-ffa450edef68

23 years agoin case there is actually a cert chain in the cache, we should be
Doug MacEachern [Tue, 11 Jun 2002 03:45:54 +0000 (03:45 +0000)] 
in case there is actually a cert chain in the cache, we should be
using the value of SSL_get_peer_certificate(ssl) to verify as it will
have been removed from the chain before it was put in the cache.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95603 13f79535-47bb-0310-9956-ffa450edef68

23 years agoPR:
Doug MacEachern [Tue, 11 Jun 2002 03:19:27 +0000 (03:19 +0000)] 
PR:
Obtained from:
Submitted by:
Reviewed by:
allow POST method over SSL when per-directory client cert
authentication is used with 'SSLOptions +OptRenegotiate' enabled
and a client cert was found in the ssl session cache.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95602 13f79535-47bb-0310-9956-ffa450edef68

23 years agoPR:
Doug MacEachern [Tue, 11 Jun 2002 03:12:33 +0000 (03:12 +0000)] 
PR:
Obtained from:
Submitted by:
Reviewed by:
'SSLOptions +OptRengotiate' will use client cert in from the ssl
session cache when there is no cert chain in the cache.  prior to
the fix this situation would result in a FORBIDDEN response and
error message "Cannot find peer certificate chain"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95601 13f79535-47bb-0310-9956-ffa450edef68

23 years agomake some small steps towards getting the post config hook
Jeff Trawick [Fri, 7 Jun 2002 12:51:49 +0000 (12:51 +0000)] 
make some small steps towards getting the post config hook
to return an error rather than exiting directly

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95567 13f79535-47bb-0310-9956-ffa450edef68

23 years agoUpdate Geoff's email address. PS: Geoff still volunteers to answer any
Cliff Woolley [Thu, 6 Jun 2002 18:27:42 +0000 (18:27 +0000)] 
Update Geoff's email address.  PS: Geoff still volunteers to answer any
questions about shmcb:

"Feel free to buzz me on shmcb matters to as/when you like - my time
 may be limited right now but I will certainly reply as best I can to
 anything that comes up."

Submitted by: Geoff Thorpe <geoff@geoffthorpe.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95550 13f79535-47bb-0310-9956-ffa450edef68

23 years ago cvs up/diff gets pretty hard to track with vc7 builds.
William A. Rowe Jr [Wed, 5 Jun 2002 14:56:46 +0000 (14:56 +0000)] 
  cvs up/diff gets pretty hard to track with vc7 builds.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95524 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove all special mod_ssl URIs. This also fixes the bug where
Ryan Bloom [Tue, 4 Jun 2002 07:12:26 +0000 (07:12 +0000)] 
Remove all special mod_ssl URIs.  This also fixes the bug where
redirecting (.*) will allow an SSL protected page to be viewed
without SSL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95501 13f79535-47bb-0310-9956-ffa450edef68

23 years ago The only remaining question ... are nested or strictly unnested locks
William A. Rowe Jr [Tue, 4 Jun 2002 02:19:33 +0000 (02:19 +0000)] 
  The only remaining question ... are nested or strictly unnested locks
  expected by OpenSSL?  Right now I've left it as _DEFAULT for the platform
  preference.  Very simple code really - the server_rec was superfluous.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95497 13f79535-47bb-0310-9956-ffa450edef68

23 years agoThis definitely gets the award for least useful error message of the month.
Cliff Woolley [Thu, 30 May 2002 22:39:08 +0000 (22:39 +0000)] 
This definitely gets the award for least useful error message of the month.

Not only should it just say "can't do that on win32," which is after all
the bottom line, it was spitting out openssl error messages which were
totally useless.  Eg:

[30/May/2002 17:31:17 05760] [error] Init: PassPhraseDialog BuiltIn not
supported in server private key from file
F:/Apache/Apache2/conf/ssl/secure.key (OpenSSL library error follows)
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D084069:asn1
encoding routines:d2i_ASN1_SET:bad tag
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D09D082:asn1
encoding routines:d2i_RSAPrivateKey:parsing
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D09B00D:asn1
encoding routines:d2i_PrivateKey:ASN1 lib

Which is essentially saying "OpenSSL couldn't read your private key because
it was encrypted, and we can't get the passphrase the way you asked us to
on this platform."

Brought to my attention by the inquiry of:  Chris Hsiang <chsiang@ivivos.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95415 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Based on DougM's feedback to the list...
William A. Rowe Jr [Thu, 30 May 2002 19:19:20 +0000 (19:19 +0000)] 
  Based on DougM's feedback to the list...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95408 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Apparently Roy missed this comment. Rephrase as a seperate paragraph
William A. Rowe Jr [Thu, 30 May 2002 18:50:43 +0000 (18:50 +0000)] 
  Apparently Roy missed this comment.  Rephrase as a seperate paragraph
  to more clearly split credit for OpenSSL from credit for mod_ssl.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95407 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Split out the LAYOUT
William A. Rowe Jr [Thu, 30 May 2002 18:17:16 +0000 (18:17 +0000)] 
  Split out the LAYOUT

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95406 13f79535-47bb-0310-9956-ffa450edef68

23 years ago As we find the right places for this content, move them out in bits
William A. Rowe Jr [Thu, 30 May 2002 17:37:54 +0000 (17:37 +0000)] 
  As we find the right places for this content, move them out in bits

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95405 13f79535-47bb-0310-9956-ffa450edef68

23 years ago All rather stale. Any new/remaining issues should be moved to CHANGES
William A. Rowe Jr [Thu, 30 May 2002 06:02:15 +0000 (06:02 +0000)] 
  All rather stale.  Any new/remaining issues should be moved to CHANGES
  in the present tense, as opposed to the "Future port to 2.0".  Heh

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95389 13f79535-47bb-0310-9956-ffa450edef68

23 years agoAPR-ize the localtime() fooness, since localtime() is not always
Cliff Woolley [Tue, 28 May 2002 21:47:31 +0000 (21:47 +0000)] 
APR-ize the localtime() fooness, since localtime() is not always
threadsafe.

PR: 9469

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95327 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix the rest of the apr_pool_userdata_setn() bogosity w.r.t. DSO modules.
Cliff Woolley [Sat, 25 May 2002 20:10:55 +0000 (20:10 +0000)] 
Fix the rest of the apr_pool_userdata_setn() bogosity w.r.t. DSO modules.
It's totally unsafe to use apr_pool_userdata_setn() in the post_config
phase of a module, since on some platforms when the DSO gets reloaded
between phases, the data segment will be at a different address on the
second phase and the userdata_get() call will fail.

PR: 9413
Submitted by: Tsuyoshi Sasamoto <nazonazo@super.win.ne.jp>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95287 13f79535-47bb-0310-9956-ffa450edef68

23 years agopropagate gregames' change to the other callers of that function
Cliff Woolley [Mon, 20 May 2002 18:33:41 +0000 (18:33 +0000)] 
propagate gregames' change to the other callers of that function

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95189 13f79535-47bb-0310-9956-ffa450edef68

23 years agoprevent possible segv in ssl_init_CheckServers if s->addrs is NULL.
Doug MacEachern [Fri, 17 May 2002 18:21:12 +0000 (18:21 +0000)] 
prevent possible segv in ssl_init_CheckServers if s->addrs is NULL.
for example: <VirtualHost *:>, for which the core only spits out a warning:
 Name or service not known: Cannot resolve host name *: --- ignoring!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95158 13f79535-47bb-0310-9956-ffa450edef68

23 years agostop using APLOG_NOERRNO in calls to ap_log_[pr]error()
Jeff Trawick [Fri, 17 May 2002 11:24:17 +0000 (11:24 +0000)] 
stop using APLOG_NOERRNO in calls to ap_log_[pr]error()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95150 13f79535-47bb-0310-9956-ffa450edef68

23 years agotweak an error message for readability
Jeff Trawick [Thu, 16 May 2002 10:45:22 +0000 (10:45 +0000)] 
tweak an error message for readability

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95135 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove SSLLog and SSLLogLevel directives in favor of having mod_ssl use the
Justin Erenkrantz [Thu, 16 May 2002 06:09:13 +0000 (06:09 +0000)] 
Remove SSLLog and SSLLogLevel directives in favor of having mod_ssl use the
standard ErrorLog directives.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95129 13f79535-47bb-0310-9956-ffa450edef68

23 years agoChange mod_ssl from using ssl_log() to ap_log_error().
Justin Erenkrantz [Thu, 16 May 2002 05:17:11 +0000 (05:17 +0000)] 
Change mod_ssl from using ssl_log() to ap_log_error().

The issue is that ssl_log doesn't handle apr_status_t result codes.  This
leads to a number of places (esp. with mutexes) where the error codes get
lost.  Rather than extending ssl_log further, since mod_ssl is part of
our core, migrate to ap_log_error.  This means that mod_ssl no longer
does its own logging.

Most uses of SSL_ADD_ERRNO are now mapped correctly to apr_status_t values
(mainly because the APIs that used to return errnos are now APRized and
have apr_status_t codes available).

SSL_LOG_TRACE and SSL_LOG_DEBUG were mapped to the APLOG_DEBUG values.
mod_ssl prints out a LOT of debugging information, so mod_ssl with LogLevel
Debug may not be a good idea - perhaps mod_ssl should be less chatty.

Numerous printf type collisions were also resolved.

(The ssl logging code itself will be removed in a subsequent commit.)

This has been discussed on dev@httpd, but the fact that there isn't
much to review besides the mindless changes, I'm going to commit now
and rely on CTR if I screwed up anything on the translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95127 13f79535-47bb-0310-9956-ffa450edef68

23 years agoStop using SSL_ADD_SSLERR option in ssl_log() and replace with new
Justin Erenkrantz [Wed, 15 May 2002 23:10:33 +0000 (23:10 +0000)] 
Stop using SSL_ADD_SSLERR option in ssl_log() and replace with new
ssl_log_ssl_error() function that wraps ap_log_error instead.

This begins the migration from ssl_log() -> ap_log_error().  Divorcing
ourselves from the SSL_ADD_SSLERR option is required to make the next
pass easier.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95122 13f79535-47bb-0310-9956-ffa450edef68

23 years agoCorrect typo in last commit.
Justin Erenkrantz [Mon, 13 May 2002 07:49:30 +0000 (07:49 +0000)] 
Correct typo in last commit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95059 13f79535-47bb-0310-9956-ffa450edef68

23 years agoApply same patch (nee hack) to mod_ssl as was done to mod_rewrite to
Justin Erenkrantz [Mon, 13 May 2002 07:38:30 +0000 (07:38 +0000)] 
Apply same patch (nee hack) to mod_ssl as was done to mod_rewrite to
get cross-process mutex permissions working.

This is waiting for a proper APR interface, but this does not mean that
we should remain broken in the meantime.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95057 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Afraid these are likely generated, just something to watch out for
William A. Rowe Jr [Fri, 10 May 2002 03:55:41 +0000 (03:55 +0000)] 
  Afraid these are likely generated, just something to watch out for
  in the future.  Address PR 8963

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95024 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix a mod_ssl build problem on OS/390.
Jeff Trawick [Thu, 9 May 2002 10:53:28 +0000 (10:53 +0000)] 
Fix a mod_ssl build problem on OS/390.

This is admittedly rather ugly code to come up with a unique 4-byte
identifier for the thread.  Since our threads are pthreads and a pthread
maps 1:1 to a TCB, the address of the TCB is sufficient.   Yes, every
TCB sees a different piece of real storage mapped to the first page,
so the code does make sense.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95016 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix a case where an invalid pass phrase is entered and an
Paul J. Reder [Wed, 1 May 2002 19:28:52 +0000 (19:28 +0000)] 
Fix a case where an invalid pass phrase is entered and an
error message is given, but the prompt is not shown again.
This left the user in an ambiguous state.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94896 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRevert optimization from circa 2.0.34 that caused very long vhost id's
Cliff Woolley [Tue, 30 Apr 2002 17:10:12 +0000 (17:10 +0000)] 
Revert optimization from circa 2.0.34 that caused very long vhost id's
to be unusable with mod_ssl.

PR: 8572

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94881 13f79535-47bb-0310-9956-ffa450edef68

23 years agonote a desirable goal
Cliff Woolley [Tue, 30 Apr 2002 06:57:22 +0000 (06:57 +0000)] 
note a desirable goal

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94877 13f79535-47bb-0310-9956-ffa450edef68

23 years agoSHMCB should not have been using apr_rmm -- it was doing so incorrectly,
Cliff Woolley [Tue, 30 Apr 2002 06:48:45 +0000 (06:48 +0000)] 
SHMCB should not have been using apr_rmm -- it was doing so incorrectly,
for one thing.  But it just plain doesn't need it.  Rip it out to avoid
segfaulting.

Submitted by:  Aaron Bannert

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94876 13f79535-47bb-0310-9956-ffa450edef68