Skip to content
  1. Feb 22, 2008
    • Joe Orton's avatar
      Move SSL session data serialization up out of the session cache · e085cd8a
      Joe Orton authored
      storage providers:
      
      * modules/ssl/ssl_private.h (modssl_sesscache_provider): Change
        'store' interface to take a data/length pair rather than an
        SSL_SESSION pointer.
      
      * modules/ssl/ssl_scache.c (ssl_scache_store): Serialize the SSL 
        session here and pass down the raw DER.
      
      * modules/ssl/ssl_scache_dc.c, modules/ssl_scache_mc.c,
        modules/ssl_scache_shmcb.c, modules/ssl_scache_dbm.c: Adjust ->store
        implementations accordingly, removing the four sets of identical
        code doing the i2d dance.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630168 13f79535-47bb-0310-9956-ffa450edef68
      e085cd8a
    • Joe Orton's avatar
      Re-implement the SSL session cache abstraction using a vtable; first · 41d347a3
      Joe Orton authored
      step towards use of the ap_provider interface:
      
      * modules/ssl/ssl_private.h (modssl_sesscache_provider): Add new
        vtable type.
        (SSLModConfigRec): Reference the vtable here.
        Replace all the ssl_scache_* prototypes with provider vtable objects.
      
      * modules/ssl/ssl_scache.c (ssl_scache_init, ssl_scache_kill, 
        ssl_scache_retrieve, ssl_scache_store, ssl_scache_remove,
        ssl_ext_status_hook): Use callbacks from vtable rather than ifdef
        spaghetti.
      
      * modules/ssl/ssl_engine_init.c (ssl_init_ctx_session_cache):
        Only install the OpenSSL callbacks if a vtable is configured.
      
      * modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Set up
        vtable pointer.
      
      * modules/ssl/ssl_scache_dc.c, modules/ssl_scache_mc.c: Adjust to make
        implementations static, and add vtable definition.
      
      * modules/ssl_scache_shmcb.c: Likewise; also move the init
        one-per-process requirement down here.
      
      * modules/ssl_scache_dbm.c: Likewise; also (temporarily) use a local
        subpool in the store callback.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630163 13f79535-47bb-0310-9956-ffa450edef68
      41d347a3
    • Joe Orton's avatar
      * support/htpasswd.c (seed_rand): Fix compiler warning. · abfb67ba
      Joe Orton authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630139 13f79535-47bb-0310-9956-ffa450edef68
      abfb67ba
  2. Feb 21, 2008
  3. Feb 20, 2008
  4. Feb 19, 2008
  5. Feb 18, 2008
  6. Feb 14, 2008
  7. Feb 13, 2008
  8. Feb 12, 2008
  9. Feb 11, 2008