From: Ilia Alshanetsky Date: Wed, 11 Dec 2002 07:29:51 +0000 (+0000) Subject: ZTS fix. X-Git-Tag: RELEASE_1_0b3~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e020a87026b84ef9d24b62aba2959694161912;p=php ZTS fix. --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 58cf13e854..1c44e00afc 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -475,11 +475,11 @@ static int php_openssl_load_rand_file(const char * file, int *egdsocket, int *se { char buffer[MAXPATHLEN]; + TSRMLS_FETCH(); + *egdsocket = 0; *seeded = 0; - TSRMLS_FETCH(); - #ifdef WINDOWS RAND_screen(); #endif