projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update HPUX config, work around HPUX library incompatibility.
[openssl.git]
/
crypto
/
asn1
/
a_gentm.c
diff --git
a/crypto/asn1/a_gentm.c
b/crypto/asn1/a_gentm.c
index c5d378fb1ad284f5dd4b809a91d08be75604742e..be8570c30251c8174710476606f8235f2ca7dc7d 100644
(file)
--- 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)
return(NULL);
#if defined(THREADS) && !defined(WIN32)
- ts=(struct tm *)gmtime_r(&t,&data);
+ gmtime_r(&t,&data);
+ ts=&data;
#else
#else
- ts=
(struct tm *)
gmtime(&t);
+ ts=gmtime(&t);
#endif
p=(char *)s->data;
if ((p == NULL) || (s->length < 16))
#endif
p=(char *)s->data;
if ((p == NULL) || (s->length < 16))