Some comments.
authorBodo Möller <bodo@openssl.org>
Thu, 6 May 1999 23:36:54 +0000 (23:36 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 6 May 1999 23:36:54 +0000 (23:36 +0000)
Submitted by:
Reviewed by:
PR:

crypto/asn1/a_gentm.c
crypto/asn1/a_time.c
crypto/asn1/a_utctm.c
tools/c_rehash
util/mk1mf.pl

index be8570c..70c99ef 100644 (file)
@@ -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
index 848688b..c19b7b2 100644 (file)
@@ -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
index ebc6e38..557c1ef 100644 (file)
@@ -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);
index cc3b658..d89ab38 100644 (file)
@@ -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
index 7749505..438097b 100755 (executable)
@@ -5,7 +5,7 @@
 # funny stuff
 #
 
-$INSTALLTOP="/usr/local/ssl";
+$INSTALLTOP="/usr/ssl";
 
 $ssl_version="0.9.2b";