summaryrefslogtreecommitdiff
path: root/ext/openssl/openssl.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-12-11 07:29:51 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-12-11 07:29:51 +0000
commit08e020a87026b84ef9d24b62aba2959694161912 (patch)
treec165a4bf038c2cf84846d84a38a2ecf36719cf7d /ext/openssl/openssl.c
parentdc391673d012e3a38040ce97ca82cd56c9978151 (diff)
downloadphp-git-08e020a87026b84ef9d24b62aba2959694161912.tar.gz
ZTS fix.
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r--ext/openssl/openssl.c4
1 files changed, 2 insertions, 2 deletions
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