1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

ssl unit test fixes

* don't abuse CONFIGURE_FILE
  no need to generate ssl.c during the build
* don't skip tests when the input data is missing
  if the certificate is not found it is not OK
* run-time CERT_PATH is not the same as build-time CERT_PATH
  load server-cert.sha1 at run-time
* test an invalid fingerprint - it has to fail
* do not delete certificates at the end of the test
* test SSL_VERIFY_SERVER_CERT with a system CA
This commit is contained in:
Sergei Golubchik
2020-01-22 16:20:50 +01:00
committed by Georg Richter
parent 8e9c311610
commit 84dc415fce
3 changed files with 31 additions and 61 deletions

1418
unittest/libmariadb/ssl.c Normal file

File diff suppressed because it is too large Load Diff