git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92788
13f79535-47bb-0310-9956-
ffa450edef68
* Drop the session cache and mutex
*/
ssl_scache_kill(s);
-#if 0 /* XXX */
+
ssl_mutex_kill(s);
-#endif
/*
* Destroy the temporary keys and params
if (mc->nMutexMode == SSL_MUTEXMODE_NONE)
return TRUE;
+ /* XXX: currently mutex is not created until 2nd pass at startup */
+ if (!mc->pMutex)
+ return TRUE;
if (apr_lock_destroy(mc->pMutex) != APR_SUCCESS)
return FALSE;
+ mc->pMutex = NULL;
return TRUE;
}