test: add import and export key management hooks for the TLS provider.
authorPauli <ppzgs1@gmail.com>
Tue, 9 Feb 2021 06:58:38 +0000 (16:58 +1000)
committerPauli <ppzgs1@gmail.com>
Fri, 12 Feb 2021 02:28:55 +0000 (12:28 +1000)
commit2b248f4e3f53b97a745865a7f9e3984bb7acee17
tree3822a6d7374460efe84638522327802eb3d85a33
parentca2c778c26d488bd923121d7e4718b580fd283f2
test: add import and export key management hooks for the TLS provider.

Without these hooks, if the TLS provider isn't matched in the fetch cache, a test
failure will occur in the TLS API tests.  Without allowing import and export, an
existing key can not move to a new key manager even if it is really the same.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14126)
test/tls-provider.c