From 06cf03048273a6ecaed25f4046e19d49c9780929 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Tue, 12 Jun 2007 00:29:17 +0000 Subject: [PATCH] Fix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffer passed, we need to use ucaData rather than ucp to put it into memcache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@546326 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_scache_memcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_scache_memcache.c b/modules/ssl/ssl_scache_memcache.c index 60b9a688e8..5abe7ba91c 100644 --- a/modules/ssl/ssl_scache_memcache.c +++ b/modules/ssl/ssl_scache_memcache.c @@ -189,7 +189,7 @@ BOOL ssl_scache_mc_store(server_rec *s, UCHAR *id, int idlen, return FALSE; } - rv = apr_memcache_set(memctxt, strkey, (char*)ucp, nData, timeout, 0); + rv = apr_memcache_set(memctxt, strkey, (char*)ucaData, nData, timeout, 0); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, -- 2.40.0