summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_utctm.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-04 11:52:26 +0000
committerUlf Möller <ulf@openssl.org>1999-05-04 11:52:26 +0000
commitafd1f9e80bb848bf1fa36ae3b9bfc51d63750525 (patch)
tree463dc0ff33045e7bbf52ac91e47c30c4cec60d6d /crypto/asn1/a_utctm.c
parent9de649ff052c04163ee0c00fdbf7116066124562 (diff)
Update HPUX config, work around HPUX library incompatibility.
Submitted by: Anonymous
Diffstat (limited to 'crypto/asn1/a_utctm.c')
-rw-r--r--crypto/asn1/a_utctm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c
index 0fa8ae2ba7..ebc6e384c1 100644
--- a/crypto/asn1/a_utctm.c
+++ b/crypto/asn1/a_utctm.c
@@ -177,9 +177,10 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
return(NULL);
#if defined(THREADS) && !defined(WIN32)
- ts=(struct tm *)gmtime_r(&t,&data);
+ gmtime_r(&t,&data);
+ ts=&data;
#else
- ts=(struct tm *)gmtime(&t);
+ ts=gmtime(&t);
#endif
p=(char *)s->data;
if ((p == NULL) || (s->length < 14))