I am using OpenSSL 1.0.0c and QtCreator IDE. Data signing routines report success but EVP_VerifyFinal returns 0 (signature verification failure according to the manual). When I try debugging the function always returns 1 (verification successful). When I change to invalid signature or another public key the verification correctly fails. I've tried using 'sleep' statements and testing it in a single thread - no effect: for valid input EVP_VerifyFinal always returns 0 in release configuration and 1 during debug.
I am using OpenSSL 1.0.0c and QtCreator IDE. Data signing routines report success but EVP_VerifyFinal returns 0 (signature verification failure according to the manual). When I try debugging the function always returns 1 (verification successful). When I change to invalid signature or another public key the verification correctly fails. I've tried using 'sleep' statements and testing it in a single thread - no effect: for valid input?EVP_VerifyFinal always returns 0 in release configuration and 1 during debug.