Fixed bug #62831 (Stomp module seems not initializing SSL library first). (Patch by lwhsu at lwhsu dot org)

v1.1
Pierrick Charron 2012-08-16 03:23:42 +00:00
parent 6643708893
commit 4886ef7435
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ static PHP_GINIT_FUNCTION(stomp)
stomp_globals->read_timeout_usec = 0;
stomp_globals->connection_timeout_sec = 2;
stomp_globals->connection_timeout_usec = 0;
#if HAVE_STOMP_SSL
SSL_library_init();
#endif
}
/* }}} */