]> granicus.if.org Git - apache/commitdiff
Have some consistency! Fixes logic I introduced in 1.37.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 5 Apr 2003 19:32:01 +0000 (19:32 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 5 Apr 2003 19:32:01 +0000 (19:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99253 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util.c

index e1dbb2db46248ea6e30148bdd09e79f4e8410f92..b8736f92097537783697ced473d079da23007aee 100644 (file)
@@ -402,7 +402,7 @@ const char *ssl_asn1_table_keyfmt(apr_pool_t *p,
 static apr_thread_mutex_t **lock_cs;
 static int                  lock_num_locks;
 
-#ifdef SSLC_VERSION_NUMBER
+#ifdef HAVE_SSLC
 #if SSLC_VERSION_NUMBER >= 0x2000
 static int ssl_util_thr_lock(int mode, int type,
                               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]);
         }
 #ifdef HAVE_SSLC
-#if SSLC_VERSION_NUMBER > 0x2000
+#if SSLC_VERSION_NUMBER >= 0x2000
         return 1;
     }
     else {