]> granicus.if.org Git - php/commitdiff
ZTS fix.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 11 Dec 2002 07:29:51 +0000 (07:29 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 11 Dec 2002 07:29:51 +0000 (07:29 +0000)
ext/openssl/openssl.c

index 58cf13e85427ca193165b807bcac52cf28d721b9..1c44e00afc6e62e74d485d7caea88ef1292daae3 100644 (file)
@@ -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