diff options
author | GOTOU Yuuzou <gotoyuzo@notwork.org> | 2002-12-09 11:50:27 +0000 |
---|---|---|
committer | GOTOU Yuuzou <gotoyuzo@notwork.org> | 2002-12-09 11:50:27 +0000 |
commit | ad2da96f58be5446b920f554d2ce5c7f8529411c (patch) | |
tree | 70dcc5008cf62a0fd606dd12eff89362997448fb /ossl.c | |
parent | 1200310d36d524a7974299f177ec6251d6b02103 (diff) | |
download | ruby-openssl-history-ad2da96f58be5446b920f554d2ce5c7f8529411c.tar.gz |
* ossl.c: use ruby_unsetenv() instead of unsetenv().
* ssl.c: the return value of SSL_read/SSL_write is int (not size_t).
This fix is suggested by matz. ([ruby-list:36721])
Diffstat (limited to 'ossl.c')
-rw-r--r-- | ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ asn1time_to_time(ASN1_UTCTIME *time) tz = getenv("TZ"); putenv("TZ=UTC0"); t = mktime(&tm); - if(!tz) unsetenv("TZ"); + if(!tz) ruby_unsetenv("TZ"); else { snprintf(env, sizeof(env), "TZ=%s", tz); putenv(env); |