struct pre_check_fct *prcf;
int ideal_maxconn;
+#if defined(USE_OPENSSL) && (HA_OPENSSL_VERSION_NUMBER < 0x1010000fL)
+ /* Initialize the error strings of OpenSSL
+ * It only needs to be done explicitly with older versions of the SSL
+ * library. On newer versions, errors strings are loaded during start
+ * up. */
+ SSL_load_error_strings();
+#endif
+
startup_logs_init();
if (!init_trash_buffers(1)) {
wolfSSL_Debugging_ON();
#endif
-#if (HA_OPENSSL_VERSION_NUMBER < 0x1010000fL)
- /* Initialize the error strings of OpenSSL
- * It only needs to be done explicitly with older versions of the SSL
- * library. On newer versions, errors strings are loaded during start
- * up. */
- SSL_load_error_strings();
-#endif
/* Initialize SSL random generator. Must be called before chroot for
* access to /dev/urandom, and before ha_random_boot() which may use