Thanks for your reply. I could resolve the problem just as you said and now am able to generate signature by running dsig2.c executable with dsakey.pem and test.xml. now the verification using online verifier or xmlsec utility fails. i also tried the same using public and private DSA keys generated through openssl. how do i verify the signatures?
thanks in advance
vish
From: Aleksey Sanin <[EMAIL PROTECTED]> To: vishveswar reddy challagonda <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [xmlsec] Problem with dsig2.c Date: Fri, 13 Dec 2002 11:00:05 -0800Please check your build environment. Seems to me that you use different version of OpenSSL in dsig2 when one used to compile the XMLSEC library. If you are using xmlsec binary distribution (rpm) I would recommend to get sources and compile library yourself. Aleksey vishveswar reddy challagonda wrote:
Hi,
When i installed the xmlsec, the shared object file libxmlsec.so.0 was installed in /usr/local/lib. When i try to use the example programs , it looks for the shared object file in /usr/lib. so, i created a soft link from /usr/lib --> /usr/local/lib.
Now im able to compile the example files(dsig2.c) but when i try to run the program the computer hangs up in the xmlSecDSigGenerate(). im totally confused and lost. though im able to sign the documents using xmlsec command line utility.
I am giving you the stack trace if it helps you finding what could be wrong.
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec
