RE: Error returned from EVP_VerifyFinal()

2009-06-05 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Don M > Sent: Friday, 05 June, 2009 02:37 > I try to write a program to verify a signature, all results of > openssl(0.9.8.h) function calls are fine except the last one > result = EVP_VerifyFinal(md_ctx, sig, sig

Error returned from EVP_VerifyFinal()

2009-06-04 Thread Don M
Hi, I try to write a program to verify a signature, all results of openssl(0.9.8.h) function calls are fine except the last one result = EVP_VerifyFinal(md_ctx, sig, sig_size, evp_pkey);the result is -1, which means it's an error. Any idea what did I do wrong? see the codes below. Thanks,