mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
unit tests file layout
This commit is contained in:
6
README
6
README
@@ -24,9 +24,9 @@ Note 2)
|
|||||||
CyaSSL takes a different approach to certificate verification than OpenSSL does.
|
CyaSSL takes a different approach to certificate verification than OpenSSL does.
|
||||||
The default policy for the client is to verify the server, this means that if
|
The default policy for the client is to verify the server, this means that if
|
||||||
you don't load CAs to verify the server you'll get a connect error, unable to
|
you don't load CAs to verify the server you'll get a connect error, unable to
|
||||||
verify. It you want to mimic OpenSSL behavior of having SSL_connect succeed
|
verify (-155). It you want to mimic OpenSSL behavior of having SSL_connect
|
||||||
even if verifying the server fails and reducing security you can do this by
|
succeed even if verifying the server fails and reducing security you can do
|
||||||
calling:
|
this by calling:
|
||||||
|
|
||||||
SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0);
|
SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0);
|
||||||
|
|
||||||
|
1
tests/api.c
Normal file
1
tests/api.c
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/* api.c API unit tests */
|
1
tests/suites.c
Normal file
1
tests/suites.c
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/* suites.c cipher suite unit tests */
|
Reference in New Issue
Block a user