hi
i am trying to sign a document in the smime format,i did this either by
using the command smime or using the PKCS7_sign and SMIME_write_PKCS7
but when i tried to verify the signed file with "smime -verify" i obtain a
message :
Segmentation fault (core dumped)
and when i tried with the function : PKCS7_verify, it always return zero
(fail) ,well i follow the source code debugging and i found that the problem
was in the funcion PKCS7_signatureVerify and precisely in the function
(memcmp(message_digest->data,md_dat,md_len)) when it try to compare the
digests , this function return a non zero value (the two digests are not the
same)
please could someone tell me what is the problem, and if there is a bug or
an error , and if someone could give me an example about how to make a
tested S/MIME signing/verifying procedure
thanx
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]