Hi,
I tried to use openssl command to generate an HMAC with a key
contains '\0', but failed.
>openssl dgst -sha1 -hmac `cat `
I'm happy if dgst command supports binary format like enc command.
So I appended -hmachex option as the followings:
>openssl dgst -sha1 -hmachex aabbcc0011223344
How a
I'm playing around to see if I can observe client and server under various
conditions when negotiating TLS 1.2 with newer certs. I created a root and
server cert as ecdsa-with-SHA256.
openssl s_server -CAfile eroot1.pem -cert eserver1.pem -key eserver1.key -debug
openssl s_client -CAfile eroot
Thanks for the quick reply!
To address your questions:
1. OPENSSL_FIPS does not appear to be defined in my Visual Studio
Properties. The only preprocessor listed in 'Preprocessor Definitions' was
'_MBCS'
2. The copy of fips.h that Visual Studio finds is the correct file
(C:\usr\local\ssl\fips-2