Re: RSA digital signature verification failure with openssl 1.1.0j

2019-07-16 Thread Ying
I found that if the signing and verification are all done by command line or all done by API, the verification will pass. But if cross, then failed. Any default configuration are different? -- Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html

RSA digital signature verification failure with openssl 1.1.0j

2019-07-16 Thread Ying
I am working on the upgrade my program written 4 years before with updated openssl version 1.1.0j from 1.0.1e. There are so many changes between the two versions. I updated my code with 1.1.0 API, but it failed and I cannot figure out the reason. The RSA key pair and message signature are generat

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Mark Richter
I removed the directory, re-untarred the source, ran 'make clean', then 'make', then 'make TESTS=test_dsa V=1 test': [root@sfsdr220d openssl-1.1.1]# make TESTS=test_dsa V=1 test make depend && make _tests make[1]: Entering directory `/tmp/openssl-1.1.1' make[1]: Leaving directory `/tmp/openssl-1.

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Matt Caswell
On 16/07/2019 22:23, Mark Richter wrote: > After I built version 1.1.1 on RHEL 7, I got these errors at the end of the > 'make test.' What do they mean? > > > Test Summary Report > --- > ../test/recipes/15-test_dsa.t(Wstat: 768 Tests: 6 Failed: > 3) > F

Re: Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Viktor Dukhovni
On Tue, Jul 16, 2019 at 09:23:32PM +, Mark Richter wrote: > After I built version 1.1.1 on RHEL 7, I got these errors at the end of the > 'make test.' What do they mean? The test scripts exited with non-zero exit codes. > Test Summary Report > --- > ../test/recipes/15-test_

Errors building 1.1.1 on RHEL 7

2019-07-16 Thread Mark Richter
After I built version 1.1.1 on RHEL 7, I got these errors at the end of the 'make test.' What do they mean? Test Summary Report --- ../test/recipes/15-test_dsa.t(Wstat: 768 Tests: 6 Failed: 3) Failed tests: 4-6 Non-zero exit status: 3 ../test/recipes/15-

Server Binary Mode: open files requested by the client in binary mode

2019-07-16 Thread chabboud
I am trying to set up a server from which I can download binary files. However, I can only download text files. If I try to download binary files, I only receive the first few hundred bytes. Using options: openssl s_server -key key.pem -cert cert.pem -accept 4443 -WWW The master Manual lists opt