[xmlsec] unable to run sign1.c

Umesh Chandak umeshc at gslab.com
Tue May 29 21:14:40 PDT 2007


Hi,
I also got the folling error now with fresh installation of library as
follows 

In file included from sign1.c:35:
/data/xmlsec1-1.2.10/INSTALL-XMLSEC//include/xmlsec1/xmlsec/crypto.h:54:2: error: #error No crypto library defined
sign1.c: In function ‘sign_file’:
sign1.c:159: warning: assignment makes pointer from integer without a
cast
make: *** [sign1] Error 1

what is this #error ? which preprocessor directive is this ?

Thanks.
Regards,
Umesh  
 
On Wed, 2007-05-30 at 09:38 +0530, Umesh Chandak wrote:
> Hi ,
> Thanks for the reply. I am using xmlsec with openssl crypto library. I
> am just running the first example after the compilation and I compiled
> my library as follows
> 1) #./configure --prefix=/data/xmlsec1-1.2.10/INSTALL-XMLSEC/
> --with-libxml=$LIBXMLROOT
> --with-openssl=/data/openssl-0.9.8e/INSTALL-OpenSSL/
> 
> 2) sudo make install
> 
> Thanks.
> Regards,
> Umesh 
> On Tue, 2007-05-29 at 07:09 -0700, Aleksey Sanin wrote:
> > Which crypto library do you use? Not all the libraries implement
> > all the algorithms:
> > 
> > http://www.aleksey.com/xmlsec/xmldsig.html
> > http://www.aleksey.com/xmlsec/xmlenc.html
> > 
> > Aleksey
> > 
> > Umesh Chandak wrote:
> > > Hi All,
> > > I am new to xmlsec library. I have installed library successfully. But
> > > when I tried to run sample example sign1.c I gor the following error.
> > > ./sign1 sign1-tmpl.xml rsakey.pem
> > > func=xmlSecCryptoAppInit:file=app.c:line=1055:obj=unknown:subj=cryptoAppInit:error=9:feature is not implemented:
> > > Error: crypto initialization failed.
> > > 
> > > Thanks.
> > > Regards,
> > > Umesh
> > > 
> > > 
> > > _______________________________________________
> > > xmlsec mailing list
> > > xmlsec at aleksey.com
> > > http://www.aleksey.com/mailman/listinfo/xmlsec
> > 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 
-- 
Umesh Chandak <umeshc at gslab.com>




More information about the xmlsec mailing list