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_utctm.c
diff --git
a/crypto/asn1/a_utctm.c
b/crypto/asn1/a_utctm.c
index 0fa8ae2ba7a844349833716d76aa8f36860ea6c0..ebc6e384c1c3eeb7849c9e34fcd55692e476351f 100644
(file)
--- 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))