openssl / perftools

Performance testing tools
Apache License 2.0
4 stars 4 forks source link

handshake has wrong thread count argument order #10

Closed quarckster closed 2 months ago

quarckster commented 2 months ago

If thread count argument is placed in the end of the command the benchmark fails with the error:

LD_LIBRARY_PATH=${HOME}/openssl-3.0-test ./handshake -t -s ${HOME}/test 10
threadcount must be > 0

Expected result: thread count argument must be accepted in the end of the command

quarckster commented 2 months ago

This issue is also observed in x509storeissuer

Sashan commented 2 months ago

speaking of handshake test. The '-soption setsshare_ctxflag. It does not expect any value. (${HOME}/test}`). the test is supposed to be run with command line

./handshake -t -s 10
Sashan commented 2 months ago

there is no '-s' option at x509storeissue. and my earlier comments on handshake command line was wrong. the command line looks as:

./handshake -t 10 -s 10 path/to/openssl-sources/test/certs

and same goes to x509storeissuer

./x509storeissuer -t 10 path/to/openssl-sources/test/certs