[openssl-users] Version negotiation failure failure?

2018-08-31 Thread Jordan Brown
We're trying to nail down error reporting for TLS version mismatches, and we're seeing a couple of puzzling behaviors. First, and most puzzling... assume these two command lines: $ openssl s_server -cert 2018.08.31.a.pem -key 2018.08.31.a.key -no_tls1 $ openssl s_client -connect

Re: [openssl-users] Question w.r.t EVP Signing and Verifying

2018-08-31 Thread Viktor Dukhovni
> On Aug 31, 2018, at 1:52 AM, Kumar Venkatarao > wrote: > > Why does EVP_DigestVerifyFinal fail for ECDSA keys? Because you're not using it correctly. > Is it a known problem ? Yes, incorrect use will lead to unexpected results. No, there is no known problem in correct use of EC

[openssl-users] Question w.r.t EVP Signing and Verifying

2018-08-31 Thread Kumar Venkatarao
Hi, I am writing a program to do pairwise consistency checks using EVP API's for RSA and ECDSA keys. The private and public keys are obtained from a PKCS12 file. I've based my program on the sample code provided at - https://wiki.openssl.org/index.php/EVP_Signing_and_Verifying Version of openssl