facho-signer: correciones para primera compilacion de wasm
FossilOrigin-Name: 7e2792a899cccff417c583b419ff7081d9630e405f39dc67aa96ed479b4b5164
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| SOURCES = xades/xmlsec1/xmltree.c xades/xmlsec1/errors.c xades/templates.c xades/xades.c facho_signer.c | ||||
|  | ||||
| lib_LTLIBRARIES = libfachosigner.la | ||||
| libfachosigner_la_SOURCES = $(SOURCES) | ||||
| libfachosigner_la_SOURCES = $(LTDL_SOURCE_FILES) $(SOURCES) | ||||
| libfachosigner_la_CFLAGS = $(OPENSSL_CFLAGS) $(XMLSEC1_CFLAGS) -DXMLSEC_NOT_CRYPTO_DYNAMIC_LOADING | ||||
| libfachosigner_la_LDFLAGS = $(OPENSSL_LIBS) $(LIBLTDL) $(XMLSEC1_LIBS) | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,5 @@ | ||||
| #include "config.h" | ||||
|  | ||||
| #include "xades.h" | ||||
|  | ||||
| #include <libxml/xpath.h> | ||||
| @@ -14,7 +15,8 @@ | ||||
| #include <xmlsec/transforms.h> | ||||
| #include <xmlsec/keysdata.h> | ||||
|  | ||||
| #ifndef XMLSEC_CRYPTO_DYNAMIC_LOADING | ||||
| #ifdef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING | ||||
| #include <xmlsec/openssl/x509.h> | ||||
| #include <xmlsec/openssl/crypto.h> | ||||
| #include <xmlsec/openssl/symbols.h> | ||||
| #endif | ||||
|   | ||||
| @@ -1,12 +1,15 @@ | ||||
| #ifndef XADES_H | ||||
| #define XADES_H | ||||
|  | ||||
|  | ||||
|  | ||||
| #include <libxml/tree.h> | ||||
|  | ||||
| #define XMLSEC_NO_XSLT 1 | ||||
|  | ||||
| #include <xmlsec/xmltree.h> | ||||
| #include <xmlsec/transforms.h> | ||||
| #include <xmlsec/xmldsig.h> | ||||
| #include <xmlsec/openssl/x509.h> | ||||
| #include <xmlsec/base64.h> | ||||
|  | ||||
| #include "xmlsec1/errors_helpers.h" | ||||
|   | ||||
| @@ -15,6 +15,7 @@ | ||||
|  */ | ||||
|  | ||||
| #define XMLSEC_PRIVATE 1 | ||||
| #define XMLSEC_NO_XSLT 1 | ||||
|  | ||||
| #include <stdlib.h> | ||||
| #include <stdio.h> | ||||
|   | ||||
| @@ -23,6 +23,8 @@ | ||||
| #include <libxml/xpath.h> | ||||
| #include <libxml/xpathInternals.h> | ||||
|  | ||||
| #define XMLSEC_NO_XSLT 1 | ||||
|  | ||||
| #include <xmlsec/xmlsec.h> | ||||
| #include <xmlsec/xmltree.h> | ||||
| #include <xmlsec/parser.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user