+* Mon Apr 25 2005 Andrew McNab <Andrew.McNab@man.ac.uk>
+- Avoid build problems when using pre-0.9.7 OpenSSL
+  (ie with Globus compatibility.)
+* Mon Apr 25 2005 Andrew McNab <Andrew.McNab@man.ac.uk>
+- ==== GridSite version 1.1.8 ====
 * Mon Feb 28 2005 Andrew McNab <Andrew.McNab@man.ac.uk>
 - Fix to GRSTgaclUndenyPerm in gridsite.h (bug #7135)
   from Marco Sottilaro <marco.sottilaro@datamat.it>
 
 MAJOR_VERSION=1
 MINOR_VERSION=1.1
-PATCH_VERSION=1.1.7
+PATCH_VERSION=1.1.8
 VERSION=$(PATCH_VERSION)
 
-module.version=1.1.7
+module.version=1.1.8
 module.age=1
 
        else
                p="prim: ";
        if (BIO_write(bp,p,6) < 6) goto err;
+#if OPENSSL_VERSION_NUMBER >= 0x0090701fL
        BIO_indent(bp,indent,128);
+#endif
 
        p=str;
        if ((xclass & V_ASN1_PRIVATE) == V_ASN1_PRIVATE)
 
             }
             
           OpenSSL_add_all_digests();
+#if OPENSSL_VERSION_NUMBER >= 0x0090701fL
           EVP_MD_CTX_init(&ctx);
           EVP_VerifyInit_ex(&ctx, EVP_md5(), NULL);
+#endif
           
           EVP_VerifyUpdate(&ctx, 
                            &asn1string[taglist[iinfo].start+
                                 taglist[isig].length - 1, 
                                 prvkey);
 
-          EVP_MD_CTX_cleanup(&ctx);                      
+#if OPENSSL_VERSION_NUMBER >= 0x0090701fL
+          EVP_MD_CTX_cleanup(&ctx);      
+#endif                
           EVP_PKEY_free(prvkey);
 
           if (ret != 1) /* signature doesnt match, look for more */