From 8d514b23b6dfa723615cd550ce03c9b69c951f7e Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 14 Dec 2011 09:09:12 -0800 Subject: [PATCH] unit tests file layout --- README | 6 +++--- tests/api.c | 1 + tests/suites.c | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 tests/api.c create mode 100644 tests/suites.c diff --git a/README b/README index ed31b608c..a93cfbe64 100644 --- a/README +++ b/README @@ -24,9 +24,9 @@ Note 2) 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 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 -even if verifying the server fails and reducing security you can do this by -calling: +verify (-155). It you want to mimic OpenSSL behavior of having SSL_connect +succeed even if verifying the server fails and reducing security you can do +this by calling: SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0); diff --git a/tests/api.c b/tests/api.c new file mode 100644 index 000000000..a27fc78b2 --- /dev/null +++ b/tests/api.c @@ -0,0 +1 @@ +/* api.c API unit tests */ diff --git a/tests/suites.c b/tests/suites.c new file mode 100644 index 000000000..322a39ae4 --- /dev/null +++ b/tests/suites.c @@ -0,0 +1 @@ +/* suites.c cipher suite unit tests */