]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add a unit test for external key provider
authorSelva Nair <selva.nair@gmail.com>
Thu, 20 Jan 2022 16:16:16 +0000 (11:16 -0500)
committerGert Doering <gert@greenie.muc.de>
Thu, 20 Jan 2022 19:00:11 +0000 (20:00 +0100)
commit4fe50675946f4533a9a373f4332e417f1bbfeabe
treeff17e627057b08c538453e6d681fd6d8b48ec6f2
parent7ae282ca23e5a17cd9f2eb4801deed64ca64c704
Add a unit test for external key provider

Tests:
- Check SIGNATURE and KEYMGMT methods can be fetched
  from the provider
- Load sample RSA and EC keys as management-external-key
  and check that their sign callbacks are correctly exercised:
  with and without digest support mocked in the client
  capability flag.
 -Test generic key load and signature

v4: 16/18 and 17/18 of v3 squashed into one patch

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20220120161616.13447-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23608.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/test_provider.c [new file with mode: 0644]