mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Have some consistency! Fixes logic I introduced in 1.37.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99253 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -402,7 +402,7 @@ const char *ssl_asn1_table_keyfmt(apr_pool_t *p,
|
|||||||
static apr_thread_mutex_t **lock_cs;
|
static apr_thread_mutex_t **lock_cs;
|
||||||
static int lock_num_locks;
|
static int lock_num_locks;
|
||||||
|
|
||||||
#ifdef SSLC_VERSION_NUMBER
|
#ifdef HAVE_SSLC
|
||||||
#if SSLC_VERSION_NUMBER >= 0x2000
|
#if SSLC_VERSION_NUMBER >= 0x2000
|
||||||
static int ssl_util_thr_lock(int mode, int type,
|
static int ssl_util_thr_lock(int mode, int type,
|
||||||
const char *file, int line)
|
const char *file, int line)
|
||||||
@@ -423,7 +423,7 @@ static void ssl_util_thr_lock(int mode, int type,
|
|||||||
apr_thread_mutex_unlock(lock_cs[type]);
|
apr_thread_mutex_unlock(lock_cs[type]);
|
||||||
}
|
}
|
||||||
#ifdef HAVE_SSLC
|
#ifdef HAVE_SSLC
|
||||||
#if SSLC_VERSION_NUMBER > 0x2000
|
#if SSLC_VERSION_NUMBER >= 0x2000
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user