aboutsummaryrefslogtreecommitdiff
path: root/test_context.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-11MSVC: Fix 'no OPENSSL_Applink' errorVitaly Chikunov1-0/+5
Error message: OPENSSL_Uplink(00007FF9FB00F600,08): no OPENSSL_Applink Link: https://www.openssl.org/docs/faq.html#PROG3 Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2021-12-11MSVC: No support for GCC's compound statement expressionsVitaly Chikunov1-3/+4
Error messages: test_ciphers.c(329,5): error C2059: syntax error: '{' test_ciphers.c(329,5): error C2059: syntax error: '}' test_ciphers.c(329,5): error C2059: syntax error: ')' Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2021-10-11Making a gost provider - Adapt test_context.c for providersRichard Levitte1-42/+133
2021-05-02Make test programs less hard-codedRichard Levitte1-9/+0
The following programs had a hard coded load of the gost engine. This changes them to rely more on the testing environment, and to load engines through configuration files. This affects: test_ciphers.c, test_context.c, test_derive.c, test_digest.c, test_params.c, test_sign.c, test_tls.c
2021-02-22Always cNORM before "\n"Richard Levitte1-6/+6
Using cNORM after "\n" may or may not work, probably because of the line buffered nature of standard output. If an error is displayed immediately after a printf that has cNORM after "\n", the error output sometimes "overrides" the cNORM, and you may end up with a surprisingly colorful error message, not to mention that this may also affect your prompt in the same manner. The lesson is to always output cNORM before the ending "\n".
2020-05-08test_context: Test digests tooVitaly Chikunov1-8/+107
Test if copying `EVP_MD_CTX' is working good for GOST digests.
2020-05-08test_context: Instantiate ciphers using EVP API instead of direct callsVitaly Chikunov1-25/+47
Also, use testcases table and add more ciphers.
2018-09-15test_context: make tests return values affect overall test resultVitaly Chikunov1-10/+10
2018-09-13Add test_context to test context copyVitaly Chikunov1-0/+153
Currently, for Grasshopper only.