summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-06 23:36:54 +0000
committerBodo Möller <bodo@openssl.org>1999-05-06 23:36:54 +0000
commitce0d9f049a1cc054aec0c4da627156aee74b1d76 (patch)
treedc49f6f57a877b5f1401385d91a1d307e1022426
parent5612f93f3700af8e0b64341b636231522c7aa9cf (diff)
downloadopenssl-new-ce0d9f049a1cc054aec0c4da627156aee74b1d76.tar.gz
Some comments.
Submitted by: Reviewed by: PR:
-rw-r--r--crypto/asn1/a_gentm.c4
-rw-r--r--crypto/asn1/a_time.c2
-rw-r--r--crypto/asn1/a_utctm.c2
-rw-r--r--tools/c_rehash2
-rwxr-xr-xutil/mk1mf.pl2
5 files changed, 6 insertions, 6 deletions
diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c
index be8570c302..70c99ef441 100644
--- a/crypto/asn1/a_gentm.c
+++ b/crypto/asn1/a_gentm.c
@@ -183,8 +183,8 @@ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
return(NULL);
#if defined(THREADS) && !defined(WIN32)
- gmtime_r(&t,&data);
- ts=&data;
+ gmtime_r(&t,&data); /* should return &data, but doesn't on some systems, so we don't even look at the return value */
+ ts=&data;
#else
ts=gmtime(&t);
#endif
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c
index 848688b7db..c19b7b2cac 100644
--- a/crypto/asn1/a_time.c
+++ b/crypto/asn1/a_time.c
@@ -98,7 +98,7 @@ ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t)
#if defined(THREADS) && !defined(WIN32)
gmtime_r(&t,&data);
- ts=&data;
+ ts=&data; /* should return &data, but doesn't on some systems, so we don't even look at the return value */
#else
ts=gmtime(&t);
#endif
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c
index ebc6e384c1..557c1efb8e 100644
--- a/crypto/asn1/a_utctm.c
+++ b/crypto/asn1/a_utctm.c
@@ -177,7 +177,7 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
return(NULL);
#if defined(THREADS) && !defined(WIN32)
- gmtime_r(&t,&data);
+ gmtime_r(&t,&data); /* should return &data, but doesn't on some systems, so we don't even look at the return value */
ts=&data;
#else
ts=gmtime(&t);
diff --git a/tools/c_rehash b/tools/c_rehash
index cc3b65871f..d89ab38e64 100644
--- a/tools/c_rehash
+++ b/tools/c_rehash
@@ -8,7 +8,7 @@ if [ "$OPENSSL"x = "x" -o ! -x "$OPENSSL" ]; then
OPENSSL='openssl'
export OPENSSL
fi
-DIR=/usr/local/ssl
+DIR=/usr/ssl
PATH=$DIR/bin:$PATH
if [ ! -f "$OPENSSL" ]; then
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index 7749505c50..438097b600 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -5,7 +5,7 @@
# funny stuff
#
-$INSTALLTOP="/usr/local/ssl";
+$INSTALLTOP="/usr/ssl";
$ssl_version="0.9.2b";