]> granicus.if.org Git - apache/commit
Move SSL session data serialization up out of the session cache
authorJoe Orton <jorton@apache.org>
Fri, 22 Feb 2008 12:00:49 +0000 (12:00 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 22 Feb 2008 12:00:49 +0000 (12:00 +0000)
commit9662049374050b110deac5cfe0445ac742fa32df
treeed5b3eec1740aaa95a3be38c9e989932816fcd78
parentfb38ad47ec83203151aa2e5cea12fb55d3e755ac
Move SSL session data serialization up out of the session cache
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
modules/ssl/ssl_private.h
modules/ssl/ssl_scache.c
modules/ssl/ssl_scache_dbm.c
modules/ssl/ssl_scache_dc.c
modules/ssl/ssl_scache_memcache.c
modules/ssl/ssl_scache_shmcb.c