From dbc2843b90cf05908d6886bdd2adbcb86563d3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 19 Oct 2006 16:27:44 +0000 Subject: [PATCH] (generalizedtime2time): always use _der_timegm. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18609 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/der_get.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/asn1/der_get.c b/lib/asn1/der_get.c index 022d705c1..c6a7567eb 100644 --- a/lib/asn1/der_get.c +++ b/lib/asn1/der_get.c @@ -289,10 +289,6 @@ der_get_heim_integer (const unsigned char *p, size_t len, return 0; } -#ifndef HAVE_TIMEGM -#define timegm(x) _der_timegm(x) -#endif - static int generalizedtime2time (const char *s, time_t *t) { @@ -313,7 +309,7 @@ generalizedtime2time (const char *s, time_t *t) } tm.tm_year -= 1900; tm.tm_mon -= 1; - *t = timegm (&tm); + *t = _der_timegm (&tm); return 0; } #undef timegm