You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing the multipath_test code and attempting to run the multipath_basic_test() function. However, it results in a segmentation fault. Upon debugging, I identified that within multipath_basic_test(), the function multipath_test_one() is called. This function invokes tls_api_init_ctx_ex2(), which is defined in tls_api_test.c.
To investigate further, I added print statements inside the definition of tls_api_init_ctx_ex2(). These revealed that while the client is successfully created, the picoquic_create() function returns NULL when attempting to create the server.
Could someone help identify why picoquic_create() is failing for the server context?
The text was updated successfully, but these errors were encountered:
The creation of a server side context will fail if the key and certificate are not properly created. The test keys are located in the source code. By default, the test assumes that it is running in the same directory as the source code. If it is not, you can use the "-S" option to picoquic_ct to document the location of the source code. If you fail to do that, the code will not find the test file, and will refuse to create the context.
That said, the code should not crash. Looks like a test bug.
Description
I am testing the multipath_test code and attempting to run the multipath_basic_test() function. However, it results in a segmentation fault. Upon debugging, I identified that within multipath_basic_test(), the function multipath_test_one() is called. This function invokes tls_api_init_ctx_ex2(), which is defined in tls_api_test.c.To investigate further, I added print statements inside the definition of tls_api_init_ctx_ex2(). These revealed that while the client is successfully created, the picoquic_create() function returns NULL when attempting to create the server.
Could someone help identify why picoquic_create() is failing for the server context?
The text was updated successfully, but these errors were encountered: