Size of computed signature

2007-05-28 Thread AndrewHartley
I am computing a SignatureValue from a couple of digests and my private key and the resultant keystring is much shorter than I am expecting. The returned keystring length is 128 but the string is only 20 chars: My code that I am using is below. The argv is a vector containg two digest values

Re: [openssl.org #1521] bug report

2007-05-28 Thread Kurt Roeckx
On Tue, May 22, 2007 at 02:34:47PM +0400, Dmitri Dmitrienko wrote: With that change, I can actually create a shared libcrypto.so without using -Bsymbolic. Great work, Kurt! Would you please send me a patch? or patch openssl sources directly? Here is a patch that works for me. I've only

Re: Size of computed signature

2007-05-28 Thread Richard Salz
pszSig[ unLen ] = '\0'; CString sSigVal( pszSig ); delete[] pszSig; return sSigVal; You can't treat a signature as a C-style string. It's a binary buffer. /r$ -- STSM Senior Security Architect DataPower SOA Appliances