diff options
author | Ulf Möller <ulf@openssl.org> | 1999-05-04 11:52:26 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-05-04 11:52:26 +0000 |
commit | afd1f9e80bb848bf1fa36ae3b9bfc51d63750525 (patch) | |
tree | 463dc0ff33045e7bbf52ac91e47c30c4cec60d6d /crypto/asn1/a_gentm.c | |
parent | 9de649ff052c04163ee0c00fdbf7116066124562 (diff) |
Update HPUX config, work around HPUX library incompatibility.
Submitted by: Anonymous
Diffstat (limited to 'crypto/asn1/a_gentm.c')
-rw-r--r-- | crypto/asn1/a_gentm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c index c5d378fb1a..be8570c302 100644 --- a/crypto/asn1/a_gentm.c +++ b/crypto/asn1/a_gentm.c @@ -183,9 +183,10 @@ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, 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 < 16)) |