projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure debug-solaris-sparcv9-gcc is consistent with solaris-sparcv9-gcc.
[oweals/openssl.git]
/
crypto
/
o_time.c
diff --git
a/crypto/o_time.c
b/crypto/o_time.c
index 1bc0297b36590850c2bb09d49e30518632756a63..723eb1b5af781927047003144bc98f554fbe2a66 100644
(file)
--- a/
crypto/o_time.c
+++ b/
crypto/o_time.c
@@
-80,6
+80,9
@@
struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result)
ts = result;
#elif !defined(OPENSSL_SYS_VMS)
ts = gmtime(timer);
+ if (ts == NULL)
+ return NULL;
+
memcpy(result, ts, sizeof(struct tm));
ts = result;
#endif