[xmlsec] Problem compiling on Mac OS X
Aleksey Sanin
aleksey at aleksey.com
Fri Jun 6 14:57:44 PDT 2003
Sick! You are right, there is a problem with stock openssl on Mac.
My configure script picked up local openssl 0.9.7 copy I have compiled
from sources. When I use the one that comes from fink I also have same
build error. You have two options:
1) (prefered) get openssl 0.9.7 and compile it by yourself
2) apply the attached patch (it is also check in cvs).
Thanks for bug report!
Aleksey
-------------- next part --------------
? TODO
? scripts/test_build.sh
Index: src/openssl/x509.c
===================================================================
RCS file: /cvs/gnome/xmlsec/src/openssl/x509.c,v
retrieving revision 1.35
diff -u -r1.35 x509.c
--- src/openssl/x509.c 4 Jun 2003 15:26:39 -0000 1.35
+++ src/openssl/x509.c 6 Jun 2003 21:54:44 -0000
@@ -1455,6 +1455,7 @@
xmlSecAssert2(res != NULL, -1);
(*res) = 0;
+#ifndef XMLSEC_OPENSSL_096
if(!ASN1_TIME_check(t)) {
xmlSecError(XMLSEC_ERRORS_HERE,
NULL,
@@ -1463,6 +1464,7 @@
XMLSEC_ERRORS_NO_MESSAGE);
return(-1);
}
+#endif /* XMLSEC_OPENSSL_096 */
memset(&tm, 0, sizeof(tm));
More information about the xmlsec
mailing list