From: Selva Nair <selva.n...@gmail.com>

  Import some sample certificates into Windows store for testing
    - 4 test certificates&keys imported to user store
      and removed at the end.

  Add tests for finding certificates in Windows certficate store
    - test using SUBJ:, THUMB: and ISSUER: select-strings

  Refactor SSL_CTX_use_CryptoAPI_certificate()
    - A minor reorganization avoids wrapping for the next test

  Add a test for signing with certificates in Windows store
    - Test loading keys into xkey-provider and sign a test message.
      The signature is then verified using OpenSSL.

Sample output the test runs:
https://github.com/selvanair/openvpn/actions/runs/4418774866/jobs/7746404938#step:8:1

 src/openvpn/cryptoapi.c                   |  63 ++--
 tests/unit_tests/openvpn/Makefile.am      |   1 +
 tests/unit_tests/openvpn/cert_data.h      | 166 +++++++++
 tests/unit_tests/openvpn/test_cryptoapi.c | 429 +++++++++++++++++++++-
 4 files changed, 635 insertions(+), 24 deletions(-)
 create mode 100644 tests/unit_tests/openvpn/cert_data.h

-- 
2.34.1



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to