Index: modules/ssl/ssl_engine_init.c
===================================================================
--- modules/ssl/ssl_engine_init.c	(revision 525712)
+++ modules/ssl/ssl_engine_init.c	(working copy)
@@ -232,6 +232,10 @@
 
     }
 
+#if APR_HAS_THREADS
+    ssl_util_thread_setup(p);
+#endif
+
     /*
      * SSL external crypto device ("engine") support
      */
@@ -241,10 +245,6 @@
 
     ssl_init_SSLLibrary(base_server);
 
-#if APR_HAS_THREADS
-    ssl_util_thread_setup(p);
-#endif
-
     /*
      * Seed the Pseudo Random Number Generator (PRNG)
      * only need ptemp here; nothing inside allocated from the pool
