aboutsummaryrefslogtreecommitdiffstats
path: root/common/mischelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-14 11:24:02 +0000
committerWerner Koch <[email protected]>2010-04-14 11:24:02 +0000
commit31d7bdfe771853a480203d7d4a661d476d2231a4 (patch)
tree470c4ed27b06188b1a1a000ce6fb2c41b260b96d /common/mischelp.c
parent2010-04-13 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.tar.gz
gnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.zip
Whole lot of changes to support CE.
Diffstat (limited to 'common/mischelp.c')
-rw-r--r--common/mischelp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/mischelp.c b/common/mischelp.c
index e06be21f2..5c8f1cfab 100644
--- a/common/mischelp.c
+++ b/common/mischelp.c
@@ -183,11 +183,7 @@ timegm (struct tm *tm)
putenv (old_zone);
}
else
-#ifdef HAVE_UNSETENV
- unsetenv("TZ");
-#else
- putenv("TZ");
-#endif
+ gnupg_unsetenv("TZ");
tzset();
return answer;