SSL_set_info_callback with argument

2022-02-09 Thread Tal Dery
Hi, SSL_set_info_callback not accepting any argument, is there an elegant solution to get an argument in the callback?   Thanks  

How to verify a .cms-file?

2022-02-09 Thread Keine Eile
Hi list members, I got a file 'document.pdf' and a 'document_pdf.cms. Using 'openssl pkcs7'. It seems to be DER encoded and I can extract multiple certs, a CA, an intermediate and a signer's certificate. I have tried some variants of 'openssl cms -verify', but most end with a ~~~ Error reading

RE: How run the specific test case //答复: How to run a simple test case

2022-02-09 Thread Dr. Matthias St. Pierre
The problem lies with the Perl script, not the C program. The perl script generates the file 17-renegotiate.cnf.default from the template file 17-renegotiate.cnf.in. The environment variable “${ENV::TEST_CERTS_DIR}” should have been replaced by Perl. Please open an issue on GitHub, it’s easier

答复: How run the specific test case //答复: How to run a simple test case

2022-02-09 Thread Chenxinping via openssl-users
Thanks for the information. NCONF_load will failed with “./test/ssl_test ./test-runs/test_ssl_new/17-renegotiate.cnf.default”. As strdup will failed in case of “${ENV::TEST_CERTS_DIR}/*” . Maybe the ENV should be setted before run the test case. Error information: # ERROR: (int) 'NCONF_load(co

RE: How run the specific test case //答复: How to run a simple test case

2022-02-09 Thread Dr. Matthias St. Pierre
Ah ok, maybe I slightly misunderstood your question. From your transcript I infer that the testsuite ran the perl script `generate_ssl_tests.pl`, which generated some test files an then ran the binary `ssl_test` as follows: ./test/ssl_test ./test-runs/test_ssl_new/17-renegotiate.cnf.default If

How run the specific test case //答复: How to run a simple test case

2022-02-09 Thread Chenxinping via openssl-users
Thanks for your information, simple test case means some specific test case. Some error reported from some specific test case in case of “make V=1 TESTS='test_ssl_new*' test”, the error information could not help to local the issue, So I need run and debug the specific test case. Error inform

RE: How to run a simple test case

2022-02-09 Thread Dr. Matthias St. Pierre
The README file in the test directory contains a detailed explanation. https://github.com/openssl/openssl/blob/master/test/README.md In a nutshell, you run `make test`, passing `V=1` to turn on verbose output and `TESTS=...` to select one or more tests: make V=1 TESTS= test HTH, Matthias

Re: does Openssl 3.0 has backward compatiblity.

2022-02-09 Thread Tomas Mraz
The PKCS12 files use algorithms that are legacy, you need to load the legacy and default provider to be able to load them. You can do that either with configuration file (see man 5 config) or with OSSL_PROVIDER_load() calls. Regards, Tomas On Wed, 2022-02-09 at 11:11 +, Srinivas, Saketh (c) w

does Openssl 3.0 has backward compatiblity.

2022-02-09 Thread Srinivas, Saketh (c)
Does openssl 3.0 supports the openssl 1.0 pkcs12 files. Is it backward compatible. For me it giving error in PKCS12_parse function. thanks, Saketh. Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential an